Keysight VISA.NET Help
VisaSession Class
Members 



An abstract class inherited by all VISA.NET session classes. VisaSession includes common functionality for all VISA.NET sessions, including general information about the implementation, information about the device to which the session is connected, event management, locks, and the ability to generically access features of the underlying VISA implementation.
Object Model
VisaSession ClassResourceManager Class
Syntax
'Declaration
 
Public MustInherit Class VisaSession 
   Implements Ivi.Visa.INativeVisaSession, Ivi.Visa.IVisaSession, IKeysightNativeVisaSession 
'Usage
 
Dim instance As VisaSession
public ref class VisaSession abstract : public Ivi.Visa.INativeVisaSession, Ivi.Visa.IVisaSession, IKeysightNativeVisaSession  
Remarks

The VisaSession class must derive from IKeysightNativeVisaSession because Keysight VISA.NET sessions delegate their work to Keysight VISA. IKeysightNativeVisaSession allows limited access to underlying VISA features, primarily undocumented attributes.

The VisaSession class must derive from IDisposable because it must be able to dispose of unmanaged resources including the corresponding sessions in the underlying VISA C implementation.

Although it is technically possible, Keysight recomends that customers not derive custom classes from this class. Attempts to override some methods may result in a stack overflow when the method is called.

For more information, see Resources and Sessions.

Inheritance Hierarchy

System.Object
   Keysight.Visa.VisaSession
      Keysight.Visa.GpibInterfaceSession
      Keysight.Visa.MessageBasedSession
      Keysight.Visa.PxiBackplaneSession
      Keysight.Visa.RegisterBasedSession
      Keysight.Visa.VxiBackplaneSession

Requirements

Current with Keysight IO Libraries Suite 18

See Also

Reference

VisaSession Members
Keysight.Visa Namespace

 

 


© Keysight Technologies 2015-2025