pidf v2_RPDM { $********************************************************************* 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 = "RPDM"; $$ vinst $********************************************************************* int num_groups = 3; $$ no. groups string group_name = "Number of Peaks"; $$ group name string group_name = "Sweep Step Number of Peak"; $$ group name string group_name = "Sweep Step Number of 1/2 Current"; $$ 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 = 3; $$ no. units struct Unit0 { $-------------------------UNIT 00------------------------------------- int id = 0; $$ unit id float min = -2.0; $$ unit min/max float max = 7.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "unitless"; $$ 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 = 0.0; $$ unit min/max float max = 255.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "integer"; $$ unit label string long_description = "Sweep Step Number"; $$ long desc. string short_description = "Step #"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit2 { $-------------------------UNIT 02------------------------------------- int id = 0; $$ unit id float min = -100.0; $$ unit min/max float max = 100.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 }; $********************************************************************* int num_sensors = 7; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "Num of Peaks"; $$ 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 = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor1 { $-----------------------SENSOR 01------------------------------------- string name = "Peak 1: Loc"; $$ sensor name string component = "Peak 1"; $$ 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. of units int unit_number = 1; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "Peak 2: Loc"; $$ sensor name string component = "Peak 2"; $$ 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. of units int unit_number = 1; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor3 { $-----------------------SENSOR 03------------------------------------- string name = "Peak 3: Loc"; $$ sensor name string component = "Peak 3"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 3; $$ pidf sensor num int vidf_sensor_num = 3; $$ sensor vidf no. int group_num = 1; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 1; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor4 { $-----------------------SENSOR 04------------------------------------- string name = "Peak 1: 1/2I"; $$ sensor name string component = "Peak 1"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 4; $$ pidf sensor num int vidf_sensor_num = 4; $$ sensor vidf no. int group_num = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 1; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor5 { $-----------------------SENSOR 05------------------------------------- string name = "Peak 2: 1/2I"; $$ sensor name string component = "Peak 2"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 5; $$ pidf sensor num int vidf_sensor_num = 5; $$ sensor vidf no. int group_num = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 1; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor6 { $-----------------------SENSOR 06------------------------------------- string name = "Peak 3: 1/2I"; $$ sensor name string component = "Peak 3"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 6; $$ pidf sensor num int vidf_sensor_num = 6; $$ sensor vidf no. int group_num = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 1; $$ 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 = 0; $$ unit numbers }; }