pidf v2_RPBB { $********************************************************************* float version = 2.0; $$ version string institution = "SwRI/MSFC"; $$ institute string project = "TSS"; $$ project string mission = "TSS-1R"; $$ mission string experiment = "ROPE"; $$ experiment string instrument = "ROPE"; $$ instrument string vinst = "RPBB"; $$ vinst $********************************************************************* int num_groups = 2; $$ no. groups string group_name = "Boom Current"; $$ group name string group_name = "Boom Voltage"; $$ group name int plot_avail_flag = 0x1; $$ plot avail int data_type_mask = 0x11; $$ Sen/Scn/Cal/Mode/Qual int instrument_dep = 0; $$ avg over $********************************************************************* int num_bin_sets = 0; $$ no. bin sets $********************************************************************* int num_units = 4; $$ no. units struct Unit0 { $-------------------------UNIT 00------------------------------------- int id = 0; $$ unit id float min = 0.0; $$ unit min/max float max = 255.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Dimensionless"; $$ unit label string long_description = "Telemetry"; $$ long desc. string short_description = "Raw"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit1 { $-------------------------UNIT 01------------------------------------- int id = 0; $$ unit id float min = -50.0; $$ unit min/max float max = 200.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "uA"; $$ unit label string long_description = "Current"; $$ long desc. string short_description = "I"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 0; $$ table numbers int tbl_app_oper = 0; $$ operations }; struct Unit2 { $-------------------------UNIT 02------------------------------------- int id = 0; $$ unit id float min = 0.0; $$ unit min/max float max = 500.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Volts"; $$ unit label string long_description = "Voltage"; $$ long desc. string short_description = "V"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 0; $$ table numbers int tbl_app_oper = 0; $$ operations }; struct Unit3 { $-------------------------UNIT 03------------------------------------- int id = 0; $$ unit id float min = -1.0; $$ unit min/max float max = 3.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Dimensionless"; $$ unit label string long_description = "Telemetry"; $$ long desc. string short_description = "Raw"; $$ short desc. int num_tables = 0; $$ number of tables }; $********************************************************************* int num_sensors = 3; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "BMSP I"; $$ sensor name string component = "N/A"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 0; $$ pidf sensor num int vidf_sensor_num = 0; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor1 { $-----------------------SENSOR 01------------------------------------- string name = "Meas BMSP V"; $$ sensor name string component = "Measured"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 1; $$ pidf sensor num int vidf_sensor_num = 1; $$ sensor vidf no. int group_num = 1; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "Cmd BMSP V"; $$ sensor name string component = "Commanded"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 2; $$ pidf sensor num int vidf_sensor_num = 2; $$ sensor vidf no. int group_num = 1; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct DataQual { $********************************************************************* string name = "Data Quality"; $$ dqual name string short_name = "Dqual"; $$ dqual name int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; }