
November 1985
National Instruments
If this is the
function you call that requires GPIB
controller capability, and you have not disabled System
Controller capability with rsc, the GPIB-MAC sends
Interface Clear
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
to make yourself CIC before making this call.
Otherwise, the ECIC error will be posted.
the GPIB-MAC is not CIC and you do not specify the
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:
3”
Read up to 10 bytes from the
‘GPIB device at address 3.
‘Input 10 bytes from serial port
‘buffer.
INPUT
‘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.
* frequently used function
60
SECTION FOUR FUNCTIONS