VI_EVENT_SERVICE_REQ

NI-VISA

VI_EVENT_SERVICE_REQ

Resource Classes

GPIB INSTR, GPIB INTFC, GPIB-VXI INSTR, TCPIP INSTR, USB INSTR, VXI INSTR

Description

This event notifies the application that a service request was received from the device or interface associated with the given session.

Note  When you receive a VI_EVENT_SERVICE_REQ on an instrument session, you must call viReadSTB() to guarantee delivery of future service request events on the given session.

Event Attributes

Symbolic Name Description

VI_ATTR_EVENT_TYPE

Unique logical identifier of the event. This attribute always has the value of VI_EVENT_SERVICE_REQ for this event type.

Related Topics

INSTR Resource

INTFC Resource

VI_ATTR_EVENT_TYPE

viReadSTB