Chapter 5
S Mode Functions
© National Instruments Corp.
5-33
GPIB-232CT User Manual
If the GPIB-232CT is not CIC and you do not specify the
Talker address, the GPIB-232CT assumes it will be addressed
by the Controller, then proceeds.
If you call
rd
without an argument, the GPIB-232CT records
the EARG error.
See Also:
eos
,
eot
, and
tmo
.
Example:
1.
PRINT #1,"rd #10 3"
'Read up to 10 bytes from
'the GPIB device at
'address 3.
RESP$=INPUT$(10,#1)
'Input 10 bytes from
'serial port buffer.
INPUT #1,COUNT%
'Input ASCII string
'representing number of
'bytes read from the GPIB.
'COUNT% is number of bytes
'read from GPIB; remaining
'bytes in RESP$ can be
'ignored.