Chapter 5
S Mode Functions — gts
5-18
www.ni.com
If you call
gts
without an argument, the GPIB-232/485CT-A returns the current Controller
status, as follows:
•
CSB,0
if the GPIB-232/485CT-A is in Standby without shadow handshaking
•
CSB,1
if the GPIB-232/485CT-A is in Standby with shadow handshaking
•
CAC
if the GPIB-232/485CT-A is CIC but is not in Standby—that is, it is the Active
Controller
•
CIDLE
if the GPIB-232/485CT-A is not the CIC—that is, if it is an Idle Controller
The GPIB-232/485CT-A must be CIC when you call
gts
with an argument. If you call
gts
with an argument and the GPIB-232/485CT-A is not CIC, the GPIB-232/485CT-A records the
ECIC error.
See Also
Example 1
PRINT #1,"gts 0"
'GTS without shadow handshaking.
Example 2
PRINT #1,"GTS 1"
'GTS with shadow handshaking.
Example 3
PRINT #1,"gts"
'What is standby status?
response: CSB,1<CR><LF>
(GPIB-232/485CT-A is in standby
status with shadow handshaking)