Trigger

NI-488.2

Trigger


Purpose

Trigger a device.

Format

C

void Trigger (int boardID, Addr4882_t address)

Visual Basic

CALL Trigger (boardID%, address%)

Interactive Control (Usage Notes)

Trigger address

Input

boardID The interface number
address Address of a device to be triggered

Description

Trigger sends the Group Execute Trigger (GET) GPIB message to the device described by address. If address is the constant NOADDR, the GET message is sent to all devices that are currently listen-active on the GPIB.

Possible Errors

EARG The address parameter is invalid.
EBUS No devices are connected to the GPIB.
ECIC The interface is not the Controller-In-Charge; see SendIFC.
EDVR The NI-488.2 driver is either configured incorrectly or is not properly installed.
EHDL boardID is out of range.
ELCK The requested operation could not be performed because of an existing lock by another process.
ENEB The interface is not installed or is not properly configured.
EOIP Asynchronous I/O is in progress.