beautypg.com

Triggerlist, Triggerlist triggerlist, Syntax – Measurement Computing GPIB-488.2 User Manual

Page 62

background image

3-44

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Command

Associated MCC GPIB 488.2 Command

TriggerList TriggerList

Syntax

TriggerList {

IOtech

}

INT WINAPI TriggerList(DevHandlePT
devHandleList);

TriggerList {

MCC

}

void TriggerList(int board, int addresslist[])


Usage Notes

TriggerList {

IOtech

} IOtech’s TriggerList command issued a Group Execute Trigger

(GET) bus command to the specified devices. If no interface devices were specified, then the
GET only affected devices that were already in the Listen state, as a result of a previous
Output or Send command.
TriggerList {

MCC

} Used to trigger multiple devices. Use Trigger to trigger only one

device.
The following example shows how we would trigger two devices simultaneously. The example
devices are connected to board 0; and are at GPIB addresses 6 and 7.
Example:

short addresslist[3] = {6, 7, NOADDR};

TriggerList(0, addresslist);