National Instruments GPIB-MAC User Manual page 71

Table of Contents

Advertisement

November 1985
If this is the fust function you call that requires GPIB
controller capability, and you have not disabled System
Controller capability with rsc, the GPIB-MAC sends
Interface Clear (IFC) to make itself CIC. It also asserts
Remote Enable.
If you passed control to some other GPIB device,
control must be passed back to you or you must send
Otherwise, the ECIC error will be posted.
talker address, the GPIB-MAC assumes it will be
addressed by the Controller, then proceeds.
If you call rd without an argument, the GPIB-MAC
records the EARG error.
Refer also to tmo.
Example:
PRINT #l,"rd #lO 3"
* frequently used function
60
SECTION FOUR - FUNCTIONS
Read up to 10 bytes from the
'GPIB device at address 3.
'Input 10 bytes from serial port
'buffer.
'Input ASCII string representing
'number of bytes read from the
'GPIB.
'COUNT% is number of bytes
'read from GPIB; remaining bytes
'in RESP$ may be ignored.

Advertisement

Table of Contents
loading

Table of Contents