pidf v2_STFB { $********************************************************************* 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 = "STFB"; $$ vinst $********************************************************************* int num_groups = 9; $$ no. groups string group_name = "FPEG General Status Monitors"; $$ group name string group_name = "EGA Sync Status Monitors"; $$ group name string group_name = "FPEG Enable Status Monitors"; $$ group name string group_name = "FPEG Filament Status Monitors"; $$ group name string group_name = "FPEG High Voltage Status Monitors"; $$ group name string group_name = "FPEG Command Status Monitors"; $$ group name string group_name = "FPEG Current Limit"; $$ group name string group_name = "FPEG Sequencer Enable"; $$ group name string group_name = "Gun Switched Pulse Monitor"; $$ 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 = 2; $$ no. units struct Unit0 { $-------------------------UNIT 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 = "Dimensionless"; $$ unit label string long_description = "Event"; $$ long desc. string short_description = "Event"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit1 { $-------------------------UNIT 01------------------------------------- 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 = 27; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "FPEG Pwr"; $$ sensor name string component = "Power"; $$ 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 = "EGA Sync1"; $$ sensor name string component = "Sync 1"; $$ 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 num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "EGA Sync2"; $$ sensor name string component = "Sync 2"; $$ 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 num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor3 { $-----------------------SENSOR 03------------------------------------- string name = "FPEG Enable Cmd"; $$ sensor name string component = "Enable Command"; $$ 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 = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor4 { $-----------------------SENSOR 04------------------------------------- string name = "FPEG Enable Pulses Cmd"; $$ sensor name string component = "Enable Pulses Command"; $$ 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 = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor5 { $-----------------------SENSOR 05------------------------------------- string name = "FPEG Enable Off Tm Cmd"; $$ sensor name string component = "Enable Off Time Command"; $$ 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 = 2; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor6 { $-----------------------SENSOR 06------------------------------------- string name = "FPEG Enable On Tm Cmd"; $$ sensor name string component = "Enable On Time Command"; $$ 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 num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor7 { $-----------------------SENSOR 07------------------------------------- string name = "FPEG Fila Cmd"; $$ sensor name string component = "Command"; $$ 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 num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor8 { $-----------------------SENSOR 08------------------------------------- string name = "FPEG Fila Enable Cmd"; $$ sensor name string component = "Enable Command"; $$ 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 = 3; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor9 { $-----------------------SENSOR 09------------------------------------- string name = "FPEG Fila On Tmr Set"; $$ sensor name string component = "On Timer Set"; $$ 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 = 3; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor10 { $-----------------------SENSOR 10------------------------------------- string name = "FPEG Fila On Disc"; $$ sensor name string component = "On Discrete"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 10; $$ pidf sensor num int vidf_sensor_num = 10; $$ sensor vidf no. int group_num = 3; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor11 { $-----------------------SENSOR 11------------------------------------- string name = "FPEG HV Cmd"; $$ sensor name string component = "Command"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 11; $$ pidf sensor num int vidf_sensor_num = 11; $$ sensor vidf no. int group_num = 4; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor12 { $-----------------------SENSOR 12------------------------------------- string name = "FPEG HV Enable Var"; $$ sensor name string component = "Enable Variable"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 12; $$ pidf sensor num int vidf_sensor_num = 12; $$ sensor vidf no. int group_num = 4; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor13 { $-----------------------SENSOR 13------------------------------------- string name = "FPEG HV Arm"; $$ sensor name string component = "Status Arm"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 13; $$ pidf sensor num int vidf_sensor_num = 13; $$ sensor vidf no. int group_num = 4; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor14 { $-----------------------SENSOR 14------------------------------------- string name = "FPEG HV On"; $$ sensor name string component = "Status On"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 14; $$ pidf sensor num int vidf_sensor_num = 14; $$ sensor vidf no. int group_num = 4; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor15 { $-----------------------SENSOR 15------------------------------------- string name = "FPEG Run Bar Cmd"; $$ sensor name string component = "Run Bar"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 15; $$ pidf sensor num int vidf_sensor_num = 15; $$ sensor vidf no. int group_num = 5; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor16 { $-----------------------SENSOR 16------------------------------------- string name = "FPEG Gun1 Select"; $$ sensor name string component = "Gun1 Select"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 16; $$ pidf sensor num int vidf_sensor_num = 16; $$ 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 Sensor17 { $-----------------------SENSOR 17------------------------------------- string name = "FPEG Gun2 Select"; $$ sensor name string component = "Gun2 Select"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 17; $$ pidf sensor num int vidf_sensor_num = 17; $$ 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 Sensor18 { $-----------------------SENSOR 18------------------------------------- string name = "FPEG Run"; $$ sensor name string component = "Run"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 18; $$ pidf sensor num int vidf_sensor_num = 18; $$ 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 Sensor19 { $-----------------------SENSOR 19------------------------------------- string name = "FPEG Stop"; $$ sensor name string component = "Stop"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 19; $$ pidf sensor num int vidf_sensor_num = 19; $$ 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 Sensor20 { $-----------------------SENSOR 20------------------------------------- string name = "FPEG Stret Gun Pulse"; $$ sensor name string component = "Stretched Sun Pulse"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 20; $$ pidf sensor num int vidf_sensor_num = 20; $$ 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 Sensor21 { $-----------------------SENSOR 21------------------------------------- string name = "FPEG Go Cmd"; $$ sensor name string component = "Go"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 21; $$ pidf sensor num int vidf_sensor_num = 21; $$ sensor vidf no. int group_num = 5; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor22 { $-----------------------SENSOR 22------------------------------------- string name = "FPEG Send Cmd"; $$ sensor name string component = "Send"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 22; $$ pidf sensor num int vidf_sensor_num = 22; $$ sensor vidf no. int group_num = 5; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor23 { $-----------------------SENSOR 23------------------------------------- string name = "FPEG Ready Cmd"; $$ sensor name string component = "Ready"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 23; $$ pidf sensor num int vidf_sensor_num = 23; $$ sensor vidf no. int group_num = 5; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor24 { $-----------------------SENSOR 24------------------------------------- string name = "FPEG Cur Limit"; $$ 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 = 24; $$ pidf sensor num int vidf_sensor_num = 24; $$ sensor vidf no. int group_num = 6; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor25 { $-----------------------SENSOR 25------------------------------------- string name = "FPEG Squel Enable"; $$ 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 = 25; $$ pidf sensor num int vidf_sensor_num = 25; $$ sensor vidf no. int group_num = 7; $$ sensor group no. int display_flag = 1; $$ display bit int num_units = 1; $$ no. of units int unit_number = 0; $$ unit numbers }; struct Sensor26 { $-----------------------SENSOR 26------------------------------------- string name = "Gun Sw Pulse Mon"; $$ 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 = 26; $$ pidf sensor num int vidf_sensor_num = 26; $$ sensor vidf no. int group_num = 8; $$ sensor group no. int display_flag = 1; $$ display bit 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 = 1; $$ unit numbers }; }