Section Four A
BASICA/QuickBASIC GPIB-PC Function Calls
©National Instruments Corp.
4A-83
GPIB-PC User Manual
BASICA/QuickBASIC
BASICA/QuickBASIC
IBTRG
IBTRG
Purpose:
Trigger selected device
Format:
CALL IBTRG (BD%)
Remarks:
BD%
specifies a device.
The
IBTRG
function addresses and triggers the specified
device, then unaddresses all devices on the GPIB.
IBTRG
calls the board
IBCMD
function to send the
following commands:
•
Listen address of the device;
•
Secondary address of the device, if applicable;
•
Group Execute Trigger (GET); and
•
Untalk (UNT) and Unlisten (UNL).
Other command bytes may be sent as necessary.
Refer to the
IBCMD
function for additional information.
Device Example:
1.
Trigger the device
ANALYZ%
.
100 CALL IBTRG (ANALYZ%)