Chapter 5
S Mode Functions
© National Instruments Corp.
5-17
GPIB-232CT User Manual
gts - Go from Active Controller to Standby
Type:
Specialized Controller function
Syntax:
g
ts [bool]
<CR>
Purpose:
You
use
gts
to change the GPIB-232CT from Active
Controller to Standby Controller. You use
gts
when the I/O
and bus management functions do not meet the needs of your
device. For example, you use
gts
if you wish to let two
external devices to talk to each other directly. The
GPIB-232CT can selectively participate in the handshake of
the data transfer and hold off the handshake when it detects
the END message. The GPIB-232CT can then take control
synchronously without possibly corrupting the transfer.
Remarks:
If the argument
bool
is 1, shadow handshaking is enabled. If
the argument
bool
is 0, shadow handshaking is not
performed.
If you call
gts
without an argument, the GPIB-232CT returns
to you the current Controller status:
CSB,0
if the
GPIB-232CT is in Standby without shadow handshaking;
CSB,1
if the GPIB-232CT is in Standby with shadow
handshaking;
CAC
if the GPIB-232CT is CIC but is not in
Standby, that is, it is the Active Controller; and
CIDLE
if the
GPIB-232CT is not the CIC, that is, is an IDLE Controller.
gts
causes the GPIB-232CT to go to the Controller Standby
state and to unassert the ATN signal if it is initially the Active
Controller.
gts
permits GPIB devices to transfer data
without the GPIB-232CT participating in the transfer.
If you enable shadow handshaking, the GPIB-232CT
participates in the data handshake as an Acceptor without
actually reading the data. It monitors the transfers for the
END (EOI or end-of-string character) message and holds off
subsequent transfers. This mechanism allows the
GPIB-232CT to take control synchronously on a subsequent
operation such as
cmd
or
rpp
.