Gx5731ModuleSetPxiTriggerBus

Purpose

Sets all specified Module Strobe to PXI Trigger lines connection mode.

Syntax

Gx5731ModuleSetPxiTriggerBus (nHandle, nPxiTrigBus, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 board.
nPort
SHORT
Specified Module's port number:
0. GX5731_PORT0: Module port 0
1. GX5731_PORT1: Module port 1
2. GX5731_PORT2: Module port 2.   
nPxiTrigBus
PSHORT
Sets the specified Module’s eight output Strobe lines connections to the PXI Trigger Bus lines. The Strobe lines connections are 8 bits integer where each bit represents a PXI Trigger line. Bit 0 for line 0 and bit 7 for line 7. A high (‘1’) means the corresponding PXI Trigger line is connected; low (‘0’) means the corresponding PXI Trigger line is disconnected.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Connections to the PXI Trigger Bus lines from the Module eight output Strobe lines can be done ion parallel, i.e. from any of currently installed Modules.

Example

The following example return all eight Strobe to PXI Trigger Bus lines to 0x5:

 

SHORT nStatus;

Gx5731ModuleSetPxiTriggerBus (nHandle, 0x5, &nStatus);

 

See Also

Gx5731ModuleGetPxiTriggerBus, Gx5731ModuleSetPxiTriggerLine, Gx5731GetStrobeToPxiTriggerBusState, Gx5731SetStrobeToPxiTriggerLineState, Gx5731GetExtTriggerToPxiTriggerLine