pidf v2_SCMC { $********************************************************************* float version = 2.0; $$ version string institution = "ASI"; $$ institute string project = "TSS"; $$ project string mission = "TSS-1R"; $$ mission string experiment = "SCORE"; $$ experiment string instrument = "SCORE"; $$ instrument string vinst = "SCMC"; $$ vinst $********************************************************************* int num_groups = 1; $$ no. groups string group_name = "Tether Current"; $$ group name int plot_avail_flag = 0x1; $$ plot avail int data_type_mask = 0x17; $$ Sen/Scn/Cal/Mode/Qual int instrument_dep = 0; $$ avg over $********************************************************************* int num_bin_sets = 0; $$ no. bin sets $********************************************************************* int num_units = 5; $$ no. units struct Unit0 { $---------------------UNITS 00---------------------------------------- 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 = "unitless"; $$ unit label string long_description = "telemetry"; $$ long desc. string short_description = "raw"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit1 { $---------------------UNITS 01---------------------------------------- int id = 0; $$ unit id float min = -1.0; $$ unit min/max float max = 8.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 Unit2 { $---------------------UNITS 02---------------------------------------- int id = 0; $$ unit id float min = 0.0; $$ unit min/max float max = 256.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 Unit3 { $---------------------UNITS 03---------------------------------------- int id = 0; $$ unit id float min = -1000.0; $$ unit min/max float max = 1000.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "milliamps"; $$ 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 Unit4 { $---------------------UNITS 04---------------------------------------- int id = 0; $$ unit id float min = -2.0; $$ unit min/max float max = 2.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "None"; $$ unit label string long_description = "integer"; $$ long desc. string short_description = "integer"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 1; $$ table numbers int tbl_app_oper = 0; $$ operations }; $********************************************************************* int num_sensors = 4; $$ no. of sensors struct Sensor0 { $---------------------SENSOR 00--------------------------------------- string name = "SV/Ovflow"; $$ sensor name string component = "SV Overflow"; $$ 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 = "SV/Achk/S"; $$ sensor name string component = "SV Autocheck Status"; $$ 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 = 0; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor2 { $---------------------SENSOR 02--------------------------------------- string name = "SV/AChk"; $$ sensor name string component = "SV Autocheck"; $$ 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 = 0; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 1; $$ unit numbers }; struct Sensor3 { $---------------------SENSOR 03--------------------------------------- string name = "Tether/I"; $$ sensor name string component = "Tether Current"; $$ 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 = 0; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 2; $$ unit numbers int unit_number = 3; $$ unit numbers }; $********************************************************************* int num_cals = 1; $$ no. of cal. sets struct CalSet0 { $---------------------CAL SET 0--------------------------------------- string name = "Current Sign"; $$ cal set name string short_name = "+/- Cur"; $$ 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 = 3; $$ sensors }; $********************************************************************* int num_modes = 1; $$ no. of modes struct Mode0 { $---------------------MODE 00----------------------------------------- string name = "Gain"; $$ mode name string short_name = "Gain"; $$ 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 = 1; $$ 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 }; }