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.


icon

Inputs/Outputs

  • cu32.png timeout (25000 ms)

    timeout specifies the time, in milliseconds, that the VI waits for the event. The default is 25,000 ms.

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • iu16.png status byte

    status byte is returned if the event arrives within the specified timeout period.

  • ierrcodeclst.png 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