Keysight VISA.NET Help
ServiceRequest Event (IMessageBasedSession)



Occurs when a service request is received from the device.
Syntax
'Declaration
 
Event ServiceRequest As EventHandler(Of VisaEventArgs)
'Usage
 
Dim instance As IMessageBasedSession
Dim handler As EventHandler(Of VisaEventArgs)
 
AddHandler instance.ServiceRequest, handler
event EventHandler<VisaEventArgs> ServiceRequest
event EventHandler<VisaEventArgs^>^ ServiceRequest
Event Data

The event handler receives an argument of type VisaEventArgs containing data related to this event. The following VisaEventArgs properties provide information specific to this event.

PropertyDescription
CustomEventType A value that uniquely identifies an implementation-specific event type.  
EventType The VISA.NET standard event type.  
Remarks
When this event is received, client code should call ReadStatusByte.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025