VISA Assert Trigger Function

Owning Palette: VISA VIs and Functions

Requires: Base Development System

Asserts a software or hardware trigger, depending on the interface type. For software triggers, Default (0) is the only valid protocol. For VXI hardware triggers, Default (0) is equivalent to Sync (5). For PXI triggers, PXI: Reserve (6) and PXI: Unreserve (7) are the only valid protocols.

Details  Example

 Add to the block diagram  Find on the palette
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
protocol is the trigger protocol to use during assertion. This input accepts the following values.

0Default
1On
2Off
5Sync
6PXI: Reserve
7PXI: Unreserve
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out is a copy of the VISA resource name that VISA functions return.
error out contains error information. This output provides standard error out functionality.

VISA Assert Trigger Details

Software Triggers for 488.2 Instruments (GPIB, VXI, TCP/IP, USB)

This function sends an IEEE-488.2 software trigger to the addressed device, with the following bus-specific details:

Software Triggers for Non-488.2 Instruments (Serial Instr, TCP/IP Socket, USB Raw)

If the property IO Protocol is set to Serial-TCPIP-USB/488 Strings (4), this function sends the string "*TRG\n" to the device. Otherwise, this operation is not valid.

Hardware Triggers for VXI

For hardware triggers to VXI instruments, you must first set the property Trigger Identifier to the desired trigger line. This function performs the specified trigger operation on the line identified by the Trigger Identifier property.

Trigger Reservation for PXI

For PXI instruments, this function reserves or unreserves (releases) a trigger line for use in external triggering.

Example

Refer to the PXI - Reserve Trigger VI in the labview\examples\Instrument IO\VISA\PXI directory for an example of using the VISA Assert Trigger function.

 Open example  Find related examples