summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:13:44 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:13:44 +0900
commitdd925747f7ac9fad9bb95920dc7b07db48c9c56d (patch)
tree78eb78b96d8047d551424d2d2f0678cc5491c34b /globals.h
parentd5ac80b7501068c4ab4e8c4b3ce374f5d60ce2a8 (diff)
Allow up to 16 DACs, by adding PCB 313A
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/globals.h b/globals.h
index 9f13c6a..f9d83f1 100644
--- a/globals.h
+++ b/globals.h
@@ -294,8 +294,11 @@ unsigned long long ms_timer (void);
#define max_gpib_input_length 512
+#define max_dacs 16 // total number of DACs, including extras on PCB 313A, if used
+#define std_dacs 8 // number of DACs on OP1B PCB
+
typedef struct {
- int parallel_DAC_reg[8];
+ int parallel_DAC_reg[max_dacs];
long shift_reg_out[num_out_SRs];
long last_relay_driver_settings[4];
int oper_enable_register; /* for stat:enable command */