Keysight VISA.NET Help
Interrupt Event (VxiSession)



Occurs when a VXIbus interrupt is received from the device.
Syntax
'Declaration
 
Public Event Interrupt As EventHandler(Of VxiInterruptEventArgs)
'Usage
 
Dim instance As VxiSession
Dim handler As EventHandler(Of VxiInterruptEventArgs)
 
AddHandler instance.Interrupt, handler
public event EventHandler<VxiInterruptEventArgs> Interrupt
public:
event EventHandler<VxiInterruptEventArgs^>^ Interrupt
Event Data

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

PropertyDescription
CustomEventType A value that uniquely identifies an implementation-specific event type. (Inherited from Ivi.Visa.VisaEventArgs)
EventType The VISA.NET standard event type. (Inherited from Ivi.Visa.VisaEventArgs)
IrqLevel The interrupt level of the VXI VME interrupt.  
StatusId The status ID of the VXI VME interrupt.  
Remarks

Multiple event handlers may be registered for this event.

When a calling program registers an event handler, it is possible that the event handler might be called before the call to register the event handler returns. In this case, the event handlers registered for an event are executed before the return of the event handler registration.

Client programs should either use the event-related methods DisableEvent, DiscardEvents, EnableEvent, and VisaSession.WaitOnEvent (any overload) with the appropriate eventType, -or- the .NET events which are defined individually for each event stype in the ession class to which they apply. If a calling program uses both mechanisms at the same time, it will receive the event twice, once for each mechanism.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025