pidf v2_RPHF { $********************************************************************* float version = 2.0; $$ version string institution = "MSFC/SwRI"; $$ institute string project = "TSS"; $$ project string mission = "TSS-1R"; $$ mission string experiment = "ROPE"; $$ experiment string instrument = "ROPE"; $$ instrument string vinst = "RPHF"; $$ vinst $********************************************************************* int num_groups = 2; $$ no. groups string group_name = "PPS 1 Voltage Supply Monitors"; $$ group name string group_name = "PPS 2 Voltage Supply Monitors"; $$ group name int plot_avail_flag = 0x3; $$ plot avail int data_type_mask = 0x19; $$ Sen/Scn/Cal/Mode/Qual int instrument_dep = 1; $$ avg over float scan_min = 0.1; $$ scan limits float scan_max = 25000.0; $$ scan limits $********************************************************************* int num_bin_sets = 0; $$ no. bin sets $********************************************************************* int num_units = 6; $$ 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 = 0.0; $$ unit min/max float max = 128.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 Unit2 { $-------------------------UNIT 02------------------------------------- int id = 0; $$ unit id float min = 0.0; $$ unit min/max float max = 250.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 = 2; $$ number of tables int tbl_app_flag = 1; $$ table numbers int tbl_app_flag = 2; $$ table numbers int tbl_app_oper = 0; $$ operations int tbl_app_oper = 3; $$ operations }; struct Unit3 { $-------------------------UNIT 03------------------------------------- int id = 0; $$ unit id float min = -250.0; $$ unit min/max float max = 0.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 = 2; $$ number of tables int tbl_app_flag = 1; $$ table numbers int tbl_app_flag = 2; $$ table numbers int tbl_app_oper = 0; $$ operations int tbl_app_oper = 3; $$ operations }; struct Unit4 { $-------------------------UNIT 04------------------------------------- int id = 0; $$ unit id float min = 0.5; $$ unit min/max float max = 20000.0; $$ unit min/max int unit_scaling = 2; $$ unit lin/log string unit_label = "eV"; $$ unit label string long_description = "Energy"; $$ long desc. string short_description = "E"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 0; $$ table numbers int tbl_app_oper = 0; $$ operations }; struct Unit5 { $-------------------------UNIT 05------------------------------------- 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 = "Integer"; $$ long desc. string short_description = "Integer"; $$ short desc. int num_tables = 0; $$ number of tables }; $********************************************************************* int num_sensors = 4; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "PPS1/Plus V"; $$ sensor name string component = "+V"; $$ 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 scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor1 { $-----------------------SENSOR 01------------------------------------- string name = "PPS1/Minus V"; $$ sensor name string component = "-V"; $$ 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 scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 3; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 00------------------------------------- string name = "PPS2/Plus V"; $$ sensor name string component = "+V"; $$ 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 = 2; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor3 { $-----------------------SENSOR 01------------------------------------- string name = "PPS2/Minus V"; $$ sensor name string component = "-V"; $$ 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 = 3; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 3; $$ unit numbers }; $********************************************************************* int num_scan = 1; $$ no. of scan blocks struct Scan0 { $----------------------SCAN BLOCK 00---------------------------------- int scan_block_num = 0; $$ scan block number int num_units = 2; $$ no. scan of units struct ScanUnit0 { char spacing = 'I'; $$ raw sweep int units_index = 1; $$ raw sweep }; struct ScanUnit1 { char spacing = 'L'; $$ centers int units_index = 4; $$ centers }; }; struct DataQual { $********************************************************************* string name = "Data Quality"; $$ dqual name string short_name = "Dqual"; $$ dqual name int num_units = 1; $$ no. of units int unit_number = 05; $$ unit numbers }; }