pidf v2_RPDP { $********************************************************************* 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 = "RPDP"; $$ vinst $********************************************************************* int num_groups = 2; $$ no. groups string group_name = "Deflection"; $$ group name string group_name = "Retard"; $$ group name int plot_avail_flag = 0x6; $$ plot avail int data_type_mask = 0x1F; $$ Sen/Scn/Cal/Mode/Qual int instrument_dep = 1; $$ avg over float scan_min = -100.0; $$ scan limits float scan_max = 100.0; $$ scan limits $********************************************************************* int num_bin_sets = 2; $$ no. bin sets struct Bin0 { $---------------------BIN SET 00-------------------------------------- int method = 2; $$ bin method float min = -100.0; $$ bin beg/end float max = 100.0; $$ bin beg/end int bin_scaling = 1; $$ bin type int num_bins = 256; $$ no. of bins }; struct Bin1 { $---------------------BIN SET 01-------------------------------------- int method = 2; $$ bin method float min = 0.0; $$ bin beg/end float max = 100.0; $$ bin beg/end int bin_scaling = 1; $$ bin type int num_bins = 256; $$ no. of bins }; $********************************************************************* int num_units = 5; $$ 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 = 5e-11; $$ unit min/max float max = 5e-9; $$ unit min/max int unit_scaling = 2; $$ unit lin/log string unit_label = "amps"; $$ 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 = 1; $$ table numbers int tbl_app_oper = 0; $$ operations }; 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 }; struct Unit3 { $-------------------------UNIT 03------------------------------------- int id = 0; $$ unit id float min = -1.0; $$ unit min/max float max = 9.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 }; struct Unit4 { $-------------------------UNIT 04------------------------------------- int id = 0; $$ unit id float min = 0.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 = 5; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "Defl"; $$ 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 scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers int binning_index = 0; $$ binning index int binning_index = 0; $$ binning index }; struct Sensor1 { $-----------------------SENSOR 01------------------------------------- string name = "Retard"; $$ sensor name string component = "Only"; $$ 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 = 1; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers int binning_index = 1; $$ binning index int binning_index = 1; $$ binning index }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "Retard/Pk 1"; $$ 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 = 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 scan_block_info = 1; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers int binning_index = 1; $$ binning index int binning_index = 1; $$ binning index }; struct Sensor3 { $-----------------------SENSOR 03------------------------------------- string name = "Retard/Pk 2"; $$ 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 = 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 scan_block_info = 1; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers int binning_index = 1; $$ binning index int binning_index = 1; $$ binning index }; struct Sensor4 { $-----------------------SENSOR 04------------------------------------- string name = "Retard/Pk 3"; $$ 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 = 4; $$ pidf sensor num int vidf_sensor_num = 4; $$ sensor vidf no. int group_num = 1; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 1; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers int binning_index = 1; $$ binning index int binning_index = 1; $$ binning index }; $********************************************************************* int num_scan = 2; $$ 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 = 0; $$ raw sweep }; struct ScanUnit1 { char spacing = 'I'; $$ center eV int units_index = 2; $$ center eV }; }; struct Scan1 { $----------------------SCAN BLOCK 00---------------------------------- int scan_block_num = 1; $$ scan block number int num_units = 2; $$ no. scan of units struct ScanUnit0 { char spacing = 'I'; $$ raw sweep int units_index = 0; $$ raw sweep }; struct ScanUnit1 { char spacing = 'I'; $$ center eV int units_index = 4; $$ center eV }; }; $********************************************************************* int num_cals = 1; $$ no. of cal. sets struct CalSet0 { $------------------------CAL SET 00----------------------------------- string name = "Scan Voltage"; $$ cal set name string short_name = "Scan V"; $$ cal set name int pidf_cal_num = 0; $$ pidf cal number int vidf_cal_num = 0; $$ cal set no. int num_units = 2; $$ no. of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers char cal_modify_flag = 'Y'; $$ cal based on sensors int number_cal_sensors = 1; $$ how many sensors int cal_based_on_sensor = -1; $$ how many sensors }; $********************************************************************* int num_modes = 4; $$ no. of modes struct Mode0 { $-------------------------MODE 00------------------------------------- string name = "Instrument Mode"; $$ mode name string short_name = "Mode"; $$ mode name int pidf_mode_num = 0; $$ pidf mode number int vidf_mode_num = 0; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct Mode1 { $-------------------------MODE 01------------------------------------- string name = "Deflection Range"; $$ mode name string short_name = "Defl. Rng."; $$ mode name int pidf_mode_num = 1; $$ pidf mode number int vidf_mode_num = 1; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct Mode2 { $-------------------------MODE 02------------------------------------- string name = "Retard Range"; $$ mode name string short_name = "Retrd Rng"; $$ mode name int pidf_mode_num = 2; $$ pidf mode number int vidf_mode_num = 2; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct Mode3 { $-------------------------MODE 03------------------------------------- string name = "Data Format"; $$ mode name string short_name = "Fmt"; $$ mode name int pidf_mode_num = 3; $$ pidf mode number int vidf_mode_num = 3; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ 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 }; }