Chapter 5
S Mode Functions
© National Instruments Corp.
5-9
GPIB-232CT User Manual
The
cmd
operation terminates when:
•
The GPIB-232CT successfully transfers all commands.
•
The GPIB-232CT detects an error (GPIB-232CT is not
CIC).
•
The I/O time limit is exceeded.
•
The Take Control (TCT) command is in your command
string and is sent to the GPIB.
•
The Interface Clear (IFC) message is received from the
System Controller (not the GPIB-232CT).
After
cmd
terminates, the GPIB-232CT records the number of
command bytes it actually sent. If one of the events described
above occurs, the count may be less than expected.
If you specify
#count
and enter more than
#count
command bytes, the excess command bytes up to the
<CR><LF> are discarded.
If you call
cmd
and the GPIB-232CT is not CIC, the
GPIB-232CT records the ECIC error.
If the GPIB-232CT is CIC but not Active Controller, it takes
control and asserts ATN before sending the command bytes.
It remains Active Controller afterward.
See Also:
Appendix A to convert hex values to ASCII characters.