pidf v2_RPHC { $********************************************************************* 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 = "RPHC"; $$ vinst $********************************************************************* int num_groups = 3; $$ no. groups string group_name = "High Voltage Power Supply Monitors"; $$ group name string group_name = "High Voltage Current Supply Monitors"; $$ group name string group_name = "PPS Current Monitors"; $$ 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 = 6; $$ no. units struct Unit0 { $---------------------UNITS 00----------------------------------------- int id = 0; $$ units 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 = "raw"; $$ 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; $$ units id float min = 2500.0; $$ unit min/max float max = 3500.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; $$ table operators }; struct Unit2 { $---------------------UNITS 02----------------------------------------- int id = 0; $$ units id float min = -3500.0; $$ unit min/max float max = -2500.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; $$ table operators }; struct Unit3 { $---------------------UNITS 03----------------------------------------- int id = 0; $$ units id float min = 25.0; $$ unit min/max float max = 35.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; $$ table operators }; struct Unit4 { $---------------------UNITS 04----------------------------------------- int id = 0; $$ units id float min = 0.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; $$ table operators }; struct Unit5 { $---------------------UNITS 05----------------------------------------- int id = 0; $$ units 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 = "None"; $$ unit label string long_description = "Integer"; $$ long desc. string short_description = "Integer"; $$ short desc. int num_tables = 0; $$ number of tables }; $********************************************************************* int num_sensors = 10; $$ no. of sensors struct Sensor0 { $---------------------SENSOR 00--------------------------------------- string name = "HVPS 1 Plus V"; $$ sensor name string component = "Supply 1 +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 num_units = 2; $$ no. of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor1 { $---------------------SENSOR 01--------------------------------------- string name = "HVPS 1 Minus V"; $$ sensor name string component = "Supply 1 -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 = 0; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 2; $$ no. of units int unit_number = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor2 { $---------------------SENSOR 02--------------------------------------- string name = "HVPS 2 Plus V"; $$ sensor name string component = "Supply 2 +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 = 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 = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor3 { $---------------------SENSOR 03--------------------------------------- string name = "HVPS 2 Minus V"; $$ sensor name string component = "Supply 2 -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 = 4; $$ 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 = 0; $$ unit numbers int unit_number = 2; $$ unit numbers }; struct Sensor4 { $---------------------SENSOR 04--------------------------------------- string name = "HVPS 30V"; $$ sensor name string component = "30V Supply"; $$ 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 = 2; $$ 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 = 0; $$ unit numbers int unit_number = 3; $$ unit numbers }; struct Sensor5 { $---------------------SENSOR 05--------------------------------------- string name = "HVPS 1 I"; $$ sensor name string component = "Supply 1"; $$ 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 num_units = 2; $$ no. of units int unit_number = 0; $$ unit numbers int unit_number = 4; $$ unit numbers }; struct Sensor6 { $---------------------SENSOR 06--------------------------------------- string name = "HVPS 2 I"; $$ sensor name string component = "Supply 2"; $$ 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 = 7; $$ 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 = 0; $$ unit numbers int unit_number = 4; $$ unit numbers }; struct Sensor7 { $---------------------SENSOR 07--------------------------------------- string name = "HVPS 30V I"; $$ sensor name string component = "30V Supply"; $$ 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 = 6; $$ 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 = 0; $$ unit numbers int unit_number = 4; $$ unit numbers }; struct Sensor8 { $---------------------SENSOR 08--------------------------------------- string name = "PPS1 I"; $$ sensor name string component = "PPS 1"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 8; $$ pidf sensor num int vidf_sensor_num = 8; $$ 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 = 0; $$ unit numbers int unit_number = 4; $$ unit numbers }; struct Sensor9 { $---------------------SENSOR 09--------------------------------------- string name = "PPS2 I"; $$ sensor name string component = "PPS 2"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 9; $$ pidf sensor num int vidf_sensor_num = 9; $$ 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 = 0; $$ unit numbers int unit_number = 4; $$ 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 = 5; $$ unit numbers }; }