Keysight VISA.NET Help
WaitOnEvent(Int32,EventQueueStatus) Method



The event type(s) for which the method will wait. This may be a custom event type.
The current state of the event queue when the method returns.
Wait for events of type(s) specified by the eventType argument.
Syntax
'Declaration
 
Overloads Function WaitOnEvent( _
   ByVal eventType As Integer, _
   ByRef status As EventQueueStatus _
) As INativeVisaEventArgs
'Usage
 
Dim instance As INativeVisaSession
Dim eventType As Integer
Dim status As EventQueueStatus
Dim value As INativeVisaEventArgs
 
value = instance.WaitOnEvent(eventType, status)

Parameters

eventType
The event type(s) for which the method will wait. This may be a custom event type.
status
The current state of the event queue when the method returns.

Return Value

Event identification and status information. Clients must dispose the returned object when it is no longer needed.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025