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.
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.
|
|||||||||||||
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. |
This function sends an IEEE-488.2 software trigger to the addressed device, with the following bus-specific details:
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.
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.
For PXI instruments, this function reserves or unreserves (releases) a trigger line for use in external triggering.
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.