beautypg.com

Trigger, Trigger trigger, Syntax – Measurement Computing GPIB-488.2 User Manual

Page 61

background image

GPIB 488.2 Porting Guide

986992

IOtech to Associated MCC APIs

3-43

IOtech GPIB Command

Associated MCC GPIB 488.2 Command

Trigger Trigger

Syntax

Trigger {

IOtech

}

INT WINAPI Trigger(DevHandleT devHandle);

Trigger {

MCC

}

Trigger(int board, short address)


Usage Notes

Trigger {

IOtech

} IOtech’s Trigger command issued a Group Execute Trigger (GET) bus

command to a specified device. If no interface device was specified, then the GET only
affected a device that was already in the Listen state, as a result of a previous Output or Send
command.
Trigger {

MCC

} This command triggers one device. When this call is executed, the GPIB

GET (Group Execute Trigger) message is sent to the specified device. To trigger several GPIB
devices, use TriggerList.
The following example triggers a device connected to board 0, whose primary GPIB address is
6 and secondary address is 12.

Example:

Trigger (0, MakeAddr (6, 12));