Keysight VISA.NET Help
IUsbSession Interface Members
Properties  Methods  Events

The following tables list the members exposed by IUsbSession.

Public Properties
 NameDescription
 PropertyEventQueueCapacity The capacity of the event queue - the maximum number of pending events. (Inherited from Ivi.Visa.IVisaSession)
 PropertyFormattedIO A reference to the formatted I/O interface. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertyHardwareInterfaceName Human readable text that describes the hardware interface. (Inherited from Ivi.Visa.IVisaSession)
 PropertyHardwareInterfaceNumber The board number of the hardware interface. (Inherited from Ivi.Visa.IVisaSession)
 PropertyHardwareInterfaceType Specifies the hardware interface type (GPIB, ASRL, etc.). (Inherited from Ivi.Visa.IVisaSession)
 PropertyIOProtocol The protocol type for I/O communication with the physical resource. In some cases you may not be able to change the protocol, so reading this property value may not return the same value that was set. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertyIs4882Compliant True if the device is IEEE 488.2 compliant.  
 PropertyManufacturerId The USB vendor identification number of the hardware vendor for this device.  
 PropertyManufacturerName The name of the hardware vendor that corresponds to the ManufacturerId property.  
 PropertyMaximumInterruptSize Specifies the maximum number of bytes that this USB device will send on the interrupt IN pipe.  
 PropertyModelCode The vendor-specific model number for this USB device.  
 PropertyModelName The name of this device (corresponds to the ModelCode property).  
 PropertyRawIO A reference to the raw I/O interface. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertyResourceClass The class of resource for this session (INSTR, INTFC, etc.). (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceImplementationVersion The version of this VISA.NET implementation. (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceLockState The current lock state of the resource for this session. (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceManufacturerId The IVI identification number of the software vendor of this VISA.NET implementation. (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceManufacturerName The name of the software vendor that corresponds to the ResourceManufacturerId property. (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceName The VISA resource name of the currently open resource. This name is the canonical version of the resource name and therefore may vary from the resource descriptor used to open/initialize the resource. (Inherited from Ivi.Visa.IVisaSession)
 PropertyResourceSpecificationVersion The version of the VISA.NET specification that describes the functionality provided by this session. (Inherited from Ivi.Visa.IVisaSession)
 PropertySendEndEnabled Enables/disables sending the END signal on the last byte of a write. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertySynchronizeCallbacks Specifies whether callbacks must be performed in a specific synchronization context. If false, the implementation is allowed to execute callbacks in any context. The default value is true. (Inherited from Ivi.Visa.IVisaSession)
 PropertyTerminationCharacter The ASCII character used to end reading. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertyTerminationCharacterEnabled If true, reads end when a termination character is received. (Inherited from Ivi.Visa.IMessageBasedSession)
 PropertyTimeoutMilliseconds The I/O timeout in milliseconds for I/O communication on this resource session. If the timeout is VisaConstants.ImmediateTimeout (0), operations will never wait for the device to respond. If the timeout is VisaConstants.InfiniteTimeout (-1), I/O communication will not timeout. (Inherited from Ivi.Visa.IVisaSession)
 PropertyUsbInterfaceNumber The USB interface number of the interface to which the USB device is connected.  
 PropertyUsbProtocol The USB protocol number.  
 PropertyUsbSerialNumber The serial number of the USB device.  
Top
Public Methods
 NameDescription
 MethodAssertTrigger Asserts a software or hardware trigger dependent on the interface type. (Inherited from Ivi.Visa.IMessageBasedSession)
 MethodClear Performs an IEEE 488.1-style clear of the device and clears the input and output buffer (both raw and formatted I/O buffers). It also may terminate pending operations on the device. (Inherited from Ivi.Visa.IMessageBasedSession)
 MethodControlIn Request arbitrary data from a USB device on the default control port.  
 MethodControlOutOverloaded.  Send arbitrary data to a USB device on the default control port.  
 MethodDisableEventDisables a client from receiving events of type(s) specified by the eventType argument. (Inherited from Ivi.Visa.IVisaSession)
 MethodDiscardEventsDiscard all pending events of type(s) specified by the eventType argument. (Inherited from Ivi.Visa.IVisaSession)
 MethodDispose (Inherited from System.IDisposable)
 MethodEnableEventEnables a client to receive events of the type specified by the eventType argument using a WaitOnEvent method. (Inherited from Ivi.Visa.IVisaSession)
 MethodLockResource Locks the resource for this session with an exclusive lock, with an infinite timeout. (Inherited from Ivi.Visa.IVisaSession)
 MethodReadStatusByte Reads the status from the device. For 488.2 instruments, this is the 488.2 status byte. (Inherited from Ivi.Visa.IMessageBasedSession)
 MethodSendRemoteLocalCommand Places the USB instrument into the specified local or remote mode.  
 MethodUnlockResource Unlock the resource. (Inherited from Ivi.Visa.IVisaSession)
 MethodWaitOnEventWait for events of type(s) specified by the eventType argument. (Inherited from Ivi.Visa.IVisaSession)
Top
Public Events
 NameDescription
 EventInterrupt Occurs when a vendor-specific USB interrupt is received from the device.  
Top
See Also

Reference

IUsbSession Interface
Ivi.Visa Namespace

 

 


© Keysight Technologies 2015-2025