pidf v2_STSB { $********************************************************************* float version = 2.0; $$ version string institution = "UofMich"; $$ institute string project = "TSS"; $$ project string mission = "TSS-1R"; $$ mission string experiment = "SETS"; $$ experiment string instrument = "SETS"; $$ instrument string vinst = "STSB"; $$ vinst $********************************************************************* int num_groups = 4; $$ no. groups string group_name = "SRPA, Sweeping"; $$ group name string group_name = "SRPA, Flyback"; $$ group name string group_name = "SRPA, Search Mode"; $$ group name string group_name = "SRPA, Short Sweep"; $$ 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 = -10.0; $$ scan limits float scan_max = 80.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 = -15.0; $$ unit min/max float max = 15.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 = 5; $$ number of tables int tbl_app_flag = 1; $$ table numbers int tbl_app_flag = 2; $$ table numbers int tbl_app_flag = 3; $$ table numbers int tbl_app_flag = 4; $$ table numbers int tbl_app_flag = 5; $$ table numbers int tbl_app_oper = 0; $$ operations int tbl_app_oper = 1; $$ operations int tbl_app_oper = 3; $$ operations int tbl_app_oper = 1; $$ operations int tbl_app_oper = 1; $$ operations }; struct Unit2 { $-------------------------UNIT 02------------------------------------- int id = 0; $$ unit id float min = -80.0; $$ unit min/max float max = 0.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Db"; $$ unit label string long_description = "Power"; $$ long desc. string short_description = "Pwr"; $$ 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 = "Dqual"; $$ long desc. string short_description = "Dqual"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit4 { $-------------------------UNIT 04------------------------------------- int id = 0; $$ unit id float min = -15.0; $$ unit min/max float max = 15.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 = 6; $$ 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 = "Telemetry"; $$ long desc. string short_description = "Raw"; $$ short desc. int num_tables = 0; $$ number of tables }; $********************************************************************* int num_sensors = 8; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "Hi Sens SRPA Swping"; $$ sensor name string component = "High Sensitivity Channel"; $$ 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 = "Hi Sens SRPA Flybk"; $$ sensor name string component = "High Sensitivity Channel"; $$ 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 = 2; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "Hi Sens SRPA Srch Mode"; $$ sensor name string component = "High Sensitivity Channel"; $$ 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 03------------------------------------- string name = "Hi Sens SRPA Short Swp"; $$ sensor name string component = "High Sensitivity Channel"; $$ 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 = 2; $$ unit numbers }; struct Sensor4 { $-----------------------SENSOR 04------------------------------------- string name = "Low Sens SRPA Swping"; $$ sensor name string component = "Low Sensitivity Channel"; $$ 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 = 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 Sensor5 { $-----------------------SENSOR 05------------------------------------- string name = "Low Sens SRPA Flybk"; $$ sensor name string component = "Low Sensitivity Channel"; $$ 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 = 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 = 2; $$ unit numbers }; struct Sensor6 { $-----------------------SENSOR 06------------------------------------- string name = "Low Sens SRPA Srch Mode"; $$ sensor name string component = "Low Sensitivity Channel"; $$ 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 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 Sensor7 { $-----------------------SENSOR 07------------------------------------- string name = "Low Sens SRPA Short Swp"; $$ sensor name string component = "Low Sensitivity Channel"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 7; $$ pidf sensor num int vidf_sensor_num = 7; $$ 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 = 2; $$ 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 = 1; $$ no. scan of units struct ScanUnit0 { char spacing = 'I'; $$ center eV int units_index = 1; $$ center eV }; }; $********************************************************************* int num_cals = 5; $$ no. of cal. sets struct CalSet0 { $------------------------CAL SET 00----------------------------------- string name = "LP Sweep Voltage"; $$ cal set name string short_name = "LP Swp 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 = 4; $$ 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 }; struct CalSet1 { $------------------------CAL SET 01----------------------------------- string name = "Fitted Sweep Voltage Slope MSB"; $$ cal set name string short_name = "Swp V Slope MSB"; $$ cal set name int pidf_cal_num = 1; $$ pidf cal number int vidf_cal_num = 1; $$ cal set no. int num_units = 1; $$ no. of units int unit_number = 0; $$ 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 }; struct CalSet2 { $------------------------CAL SET 02----------------------------------- string name = "Fitted Sweep Voltage Slope LSB"; $$ cal set name string short_name = "Swp V Slope LSB"; $$ cal set name int pidf_cal_num = 2; $$ pidf cal number int vidf_cal_num = 2; $$ cal set no. int num_units = 1; $$ no. of units int unit_number = 0; $$ 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 }; struct CalSet3 { $------------------------CAL SET 03----------------------------------- string name = "Fitted Sweep Voltage Offset MSB"; $$ cal set name string short_name = "Swp V Offset MSB"; $$ cal set name int pidf_cal_num = 3; $$ pidf cal number int vidf_cal_num = 3; $$ cal set no. int num_units = 1; $$ no. of units int unit_number = 0; $$ 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 }; struct CalSet4 { $------------------------CAL SET 04----------------------------------- string name = "Fitted Sweep Voltage Offset LSB"; $$ cal set name string short_name = "Swp V Offset LSB"; $$ cal set name int pidf_cal_num = 4; $$ pidf cal number int vidf_cal_num = 4; $$ cal set no. int num_units = 1; $$ no. of units int unit_number = 0; $$ 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 = 3; $$ no. of modes struct Mode0 { $-------------------------MODE 00------------------------------------- string name = "AC Level"; $$ mode name string short_name = "AC Level"; $$ 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 = 5; $$ unit numbers }; struct Mode1 { $-------------------------MODE 01------------------------------------- string name = "Sweep Mode Discrete"; $$ mode name string short_name = "Swp Mode Dis."; $$ 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 = 5; $$ unit numbers }; struct Mode2 { $-------------------------MODE 02------------------------------------- string name = "LP 3.2 KHz Amplifer"; $$ mode name string short_name = "LP 3.2KHz Amp"; $$ 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 = 0; $$ 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 }; }