diff options
author | daniel <danieruru@gmail.com> | 2012-09-28 14:45:34 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2012-09-28 14:45:34 +0900 |
commit | 131d5ec32ca62c06f1eed9ee282bb15f814f4ba8 (patch) | |
tree | c5aa8015fd026708bcaaa5a14a63fa1de1303af0 /globals.h | |
parent | 923c8ce77ea407f3b50999447bc1d774f6a7d5e0 (diff) | |
parent | bc066aa6f5b6c69a29109a2405e8a91c55d2fade (diff) |
Merge branch 'master' of grenfell.avtechpulse.com:Instrument
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -273,18 +273,8 @@ long sec_timer (void); unsigned long long ms_timer (void); -typedef struct { - int PRIMARY_ADDRESS; /* GPIB chip's GPIB primary address */ - int INTERFACE_ERROR; /* Error Code */ - int INTERFACE_STATUS; /* Interface Status */ - unsigned int MR_4882_status[5]; /* 4882 status memory registers */ - unsigned long int DATA_COUNT; /* Transfer count */ - unsigned long int Requested_Count; /* Requested transfer count */ - unsigned long int cnt; - int prev_brq; - int spoll_count; -} GpibStruct; +#define max_gpib_input_length 512 typedef struct { int parallel_DAC_reg[8]; @@ -294,6 +284,7 @@ typedef struct { int ques_enable_register; /* for stat:enable command */ int avrq_reg; int last_rise_time_relay_setting; + char gpib_buffer[max_gpib_input_length]; } HWregStruct; @@ -795,7 +786,6 @@ typedef struct { ConstraintsStruct Constraints; ChannelStruct ChannelState[max_channels]; FlashStruct Flash; - GpibStruct GPIB; HWregStruct Registers; ChangeStruct Changes; ErrorStruct Errors; |