Wait for RQS VI
- Updated2025-07-30
- 2 minute(s) read
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.

Inputs/Outputs
timeout (25000 ms)
—
timeout specifies the time, in milliseconds, that the VI waits for the event. The default is 25,000 ms.
VISA resource name
—
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out
—
VISA resource name out is a copy of the VISA resource name that VISA functions return.
status byte
—
status byte is returned if the event arrives within the specified timeout period.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Instrument IO\GPIB\SRQ Event Handling.vi
timeout (25000 ms)
—
VISA resource name
—
error in (no error)
—
VISA resource name out
—
status byte
—
error out
—