Ibtrg, Ibtrg -49 – Measurement Computing GPIB-488 User Manual
Page 62
Advertising
Chapter 3
GPIB 488.1 Library Reference
GPIB-488
3-49
IBTRG
Triggers the specified device.
Syntax
C
ibtrg (int device)
Parameters
device
is an integer containing device handle.
Returns
ibsta
will contain a 16-bit status word as described in Appendix B,
.
iberr
will contain an error code, if an error occurred.
Usage Notes
When this routine is executed, the GPIB Interface Board associated with the device is
addressed to talk and all devices are unlistened. The specified device is then addressed to
listen and a GET (Group Execute Trigger) command is sent.
Example
This example triggers the specified device.
C
int plotter;
plotter = ibdev (0,6,0,13,1,0);
ibtrg (plotter);
Advertising