Wait for RQS VI

Owning Palette: Event Handling VIs and Functions

Requires: Base Development System

Waits for a service request from a device. Before you call this VI, first enable the event by calling the VISA Enable Event function and specifying Service Request as the event type.

If the event arrives within the specified timeout period, the status byte of the device is read and returned.

Example

 Add to the block diagram  Find on the palette
timeout specifies the time, in milliseconds, that the VI waits for the event. The default is 25,000 ms.
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
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.
status byte is returned if the event arrives within the specified timeout period.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the SRQ Event Handling VI in the labview\examples\Instrument IO\GPIB directory for an example of using the Wait for RQS VI.

 Open example  Find related examples