November 1985
National Instruments
gts Go from Active Controller to Standby
gts: Specialized Controller function
Syntax: gts
Purpose: You use
to change the GPIB-MAC from Active
Controller to Standby Controller. You use
gts
when the
and bus management functions do not meet the needs
of your device. For example, you use
if you wish to
allow two external devices to talk to each other directly.
The GPIB-MAC can selectively participate in the hand-
shake of the data transfer and hold off the handshake
when it detects the END message. The GPIB-MAC can
then take control synchronously without possibly
corrupting the transfer.
Remarks:
If the argument
is 1, shadow handshaking is
enabled. If the argument
is 0, shadow
handshaking is not performed.
If you call gts without an argument, the GPIB-MAC
returns to you the current controller status: CSB,O if the
GPIB-MAC is in Standby without shadow handshaking;
if the GPIB-MAC is in Standby with shadow
handshaking; CAC if the GPIB-MAC is CIC but is not
in Standby, i.e., it is the Active Controller; and
if
the GPIB-MAC is not the CIC, i.e., is an
Controller.
gts causes the GPIB-MAC to go to the Controller
Standby state and to unassert the ATN signal if it is
initially the Active Controller. gts permits
devices to transfer data without the GPIB-MAC
participating in the transfer.
44
SECTION FOUR FUNCTIONS