Keysight VISA.NET Help
Interrupt Event (IUsbSession)



Occurs when a vendor-specific USB interrupt is received from the device.
Syntax
'Declaration
 
Event Interrupt As EventHandler(Of UsbInterruptEventArgs)
'Usage
 
Dim instance As IUsbSession
Dim handler As EventHandler(Of UsbInterruptEventArgs)
 
AddHandler instance.Interrupt, handler
Event Data

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

PropertyDescription
CustomEventType A value that uniquely identifies an implementation-specific event type. (Inherited from Ivi.Visa.VisaEventArgs)
Data The data being transferred over the USB bus when the interrupt occurred, no longer than the expected maximum size.  
EventType The VISA.NET standard event type. (Inherited from Ivi.Visa.VisaEventArgs)
ExceededMaximumSize Indicates whether the data size exceeded the maximum size allowed by the USB interface.  
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025