HOPS
HOPS class reference
ivex.h
Go to the documentation of this file.
1 #ifndef IVEX_H
2 #define IVEX_H
3 
4 /* ivex.h
5 Tue Feb 2 11:35:07 EST 1999
6 */
7 
8 /* typedef unsigned short U16; */
9 /* typedef unsigned long U32; */
10 
12 enum { EVEN, ODD, NONE };
13 enum { HSC0, HSC1, HSC2, HSC3, MAX_HSC };
14 enum { REVERSE, FORWARD };
15 
16 #define MAXHEADS 2
17 
19  {
20  short CRC_error; /* off|on */
21  short PE_limit_exceeded; /* off|on */
22  short lost_sync; /* off|on */
23  short unexpected_sync; /* off|on */
24  };
25 
26 #define TRM_ABSENT -1
27 #define TRM_SIGN0 0
28 #define TRM_SIGN1 1
29 #define TRM_SIGN2 2
30 #define TRM_SIGN3 3
31 #define TRM_MAG0 10
32 #define TRM_MAG1 11
33 #define TRM_MAG2 12
34 #define TRM_MAG3 13
35 
37  {
38  short mux4_2bit[8]; /* Values given by defines above */
39  short mux4_1bit[4];
40  short mux2_2bit[4];
41  short mux2_1bit[2];
42  short mux1_2bit[2];
43  short mux1_1bit;
44  double parity_error_limit; /* rx parity error threshold */
45  struct bad_frame_struct invalid_frame_control; /* boolean flags */
46  };
47 
49  {
50  short inches_of_H2O; /* eg. 5" and 15" */
51  unsigned short setting;
52  };
53 
55  {
56  short headstack; /* 1|2|3|4 */
57  short parity; /* EVEN|ODD|NONE */
58  short eqlzr; /* equalizer (Mbps) */
59  };
60 
62  {
63  short track[2]; /* REV|FWD: track value */
64  short equalizer[3]; /* 0|1|2=std,alt1,alt2 */
65  };
66 
68  {
69  /* { ffspeed, fsspeed, rfspeed, rsspeed, pscale, nscale, 0.0, 0.0, fbias, rbias } */
70  double param[10];
71  };
72 
74  {
75  short drive_type; /* Mark4|VLBA */
76  char computer_name[MAX_NAMESIZE]; /* For Mark 5 */
79  float capstan_relative_diameter; /* eg. 1.014 */
80  struct vacuum_struct vacuum[2]; /* eg 5" & 15" hijklmno */
81  float tape_acceleration; /* Mark4 default: 67.5 ips/sec */
82  struct headstack_DIM_connect_struct DIM_connect[MAX_HSC]; /* HSC0..3 */
83  short nheads; /* number of headstacks */
86  };
87 
89  {
90  short corr_segment[4];
91  short inputbd_chan_grp[4];
92  };
93 
95  {
97  short switch_pos;
98  float minimum;
99  float maximum;
101  };
102 
104  {
109  };
110 
112  {
115  short DPU_port;
116  };
117 
119  {
120  short SU_ID;
126  struct drive_init_struct drive;
128  };
129 
131  {
133  unsigned long bocf_period;
135  struct CUCC_port_struct cucc_ports[2];
139  short switch_port;
141  short nmonitor;
142  struct tim_mon_struct timing_monitor[10];
144  struct pbs_init_struct pbs_init[16];
145  };
146 
147 #endif
short crate_number
Definition: ivex.h:105
float maximum
Definition: ivex.h:99
char measurement_name[MAX_NAMESIZE]
Definition: ivex.h:96
int mcb_addr_start
Definition: ivex.h:77
float tape_servo_interval
Definition: ivex.h:122
short mux2_2bit[4]
Definition: ivex.h:40
struct su_connect_struct su_connect
Definition: ivex.h:127
float system_tempo
Definition: ivex.h:132
short track[2]
Definition: ivex.h:63
short switch_pos
Definition: ivex.h:97
int mcb_addr_id
Definition: ivex.h:78
short nheads
Definition: ivex.h:83
struct SUCC_port_struct succ_port
Definition: ivex.h:123
short mux2_1bit[2]
Definition: ivex.h:41
short mux1_1bit
Definition: ivex.h:43
struct tim_mon_struct timing_monitor
Definition: ivex.h:124
short headstack
Definition: ivex.h:56
short inputbd_chan_grp[4]
Definition: ivex.h:91
char server_envname[MAX_NAMESIZE]
Definition: ivex.h:113
short mux4_1bit[4]
Definition: ivex.h:39
int cf_edit_mask
Definition: ivex.h:140
short port_A_number
Definition: ivex.h:107
short console_port
Definition: ivex.h:114
float tape_acceleration
Definition: ivex.h:81
char counter_envname[MAX_NAMESIZE]
Definition: ivex.h:136
short parity
Definition: ivex.h:57
struct headstack_parms_struct headstack[MAXHEADS+1]
Definition: ivex.h:85
short header_duration
Definition: ivex.h:134
short DPU_port
Definition: ivex.h:115
short mux4_2bit[8]
Definition: ivex.h:38
double param[10]
Definition: ivex.h:70
short drive_type
Definition: ivex.h:75
struct tim_mon_struct timing_monitor[10]
Definition: ivex.h:142
#define MAXHEADS
Definition: ivex.h:16
@ DRV_MK5P
Definition: ivex.h:11
@ DRV_MK5B
Definition: ivex.h:11
@ DRV_VLBA
Definition: ivex.h:11
@ DRV_MK4
Definition: ivex.h:11
@ DRV_MK5A
Definition: ivex.h:11
unsigned long bocf_period
Definition: ivex.h:133
double parity_error_limit
Definition: ivex.h:44
float capstan_relative_diameter
Definition: ivex.h:79
short switch_port
Definition: ivex.h:139
short lost_sync
Definition: ivex.h:22
struct TRM_config_struct TRM_config
Definition: ivex.h:125
struct moni_read_struct monitor_module[MAXHEADS+1]
Definition: ivex.h:84
short CRC_error
Definition: ivex.h:20
char server_envname[MAX_NAMESIZE]
Definition: ivex.h:106
struct pbs_init_struct pbs_init[16]
Definition: ivex.h:144
char switch_envname[MAX_NAMESIZE]
Definition: ivex.h:138
@ REVERSE
Definition: ivex.h:14
@ FORWARD
Definition: ivex.h:14
short eqlzr
Definition: ivex.h:58
struct vacuum_struct vacuum[2]
Definition: ivex.h:80
short counter_port
Definition: ivex.h:137
short nmonitor
Definition: ivex.h:141
struct bad_frame_struct invalid_frame_control
Definition: ivex.h:45
char cHost[MAX_NAMESIZE]
Definition: ivex.h:121
char computer_name[MAX_NAMESIZE]
Definition: ivex.h:76
short nplayback_systems
Definition: ivex.h:143
short SU_ID
Definition: ivex.h:120
struct headstack_DIM_connect_struct DIM_connect[MAX_HSC]
Definition: ivex.h:82
short mux1_2bit[2]
Definition: ivex.h:42
float minimum
Definition: ivex.h:98
short inches_of_H2O
Definition: ivex.h:50
short equalizer[3]
Definition: ivex.h:64
@ MAX_HSC
Definition: ivex.h:13
@ HSC0
Definition: ivex.h:13
@ HSC1
Definition: ivex.h:13
@ HSC2
Definition: ivex.h:13
@ HSC3
Definition: ivex.h:13
short corr_segment[4]
Definition: ivex.h:90
unsigned short setting
Definition: ivex.h:51
short unexpected_sync
Definition: ivex.h:23
short port_B_number
Definition: ivex.h:108
short PE_limit_exceeded
Definition: ivex.h:21
int fail_action
Definition: ivex.h:100
@ EVEN
Definition: ivex.h:12
@ ODD
Definition: ivex.h:12
@ NONE
Definition: ivex.h:12
struct drive_init_struct drive
Definition: ivex.h:126
struct CUCC_port_struct cucc_ports[2]
Definition: ivex.h:135
Definition: ivex.h:104
Definition: ivex.h:112
Definition: ivex.h:37
Definition: ivex.h:19
Definition: ivex.h:74
Definition: ivex.h:55
Definition: ivex.h:68
Definition: ivex.h:131
Definition: ivex.h:62
Definition: ivex.h:119
Definition: ivex.h:89
Definition: ivex.h:95
Definition: ivex.h:49
#define MAX_NAMESIZE
Definition: tapeDB.h:13