Keysight VISA.NET Help
MessageBasedSession Class Methods


For a list of all members of this type, see MessageBasedSession members.

Public Methods
 NameDescription
Public MethodAssertTrigger Asserts a software or hardware trigger, depending on the default trigger protocol for the session type.  
Public 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 ending operations on the device.  
Public MethodDisableEventDisables a calling program's ability to receive events of the type specified by the eventType argument using a VisaSession.WaitOnEvent method (any overload). (Inherited from Keysight.Visa.VisaSession)
Public MethodDiscardEventsDiscards events of the type specified by the eventType argument from the queue for that event type. (Inherited from Keysight.Visa.VisaSession)
Public MethodDisposeOverloaded.  Performs tasks associated with freeing, releasing, or resetting unmanaged VISA resources used by this session. (Inherited from Keysight.Visa.VisaSession)
Public MethodEnableEventEnables a calling program's ability to receive events of the type specified by the eventType argument using a WaitOnEvent method. (Inherited from Keysight.Visa.VisaSession)
Public MethodLockResourceOverloaded.  Acquires a lock on the resource for this session. (Inherited from Keysight.Visa.VisaSession)
Public MethodReadStatusByte Reads the status from the device. For 488.2 instruments, this is the 488.2 status byte.  
Public MethodUnlockResource Unlocks the resource. (Inherited from Keysight.Visa.VisaSession)
Public MethodWaitOnEventOverloaded.  Waits for an occurrence of the specified event for this session. In particular, WaitOnEvent suspends execution of the thread on which it is called and waits for the specified event indefinitely. (Inherited from Keysight.Visa.VisaSession)
Top
Protected Methods
 NameDescription
Protected MethodFinalize Performs tasks associated with freeing, releasing, or resetting unmanaged VISA resources used by this session. (Inherited from Keysight.Visa.VisaSession)
Top
See Also

Reference

MessageBasedSession Class
Keysight.Visa Namespace

 

 


© Keysight Technologies 2015-2025