Keysight VISA.NET Help
GpibInterfaceSession Class Members
Properties  Methods  Events


The following tables list the members exposed by GpibInterfaceSession.

Public Constructors
 NameDescription
Public ConstructorGpibInterfaceSession ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAddressState Indicates whether the specified GPIB interface is currently addressed to talk or listen, or is not addressed.  
Public PropertyAllowDma Indicates whether I/O accesses should use DMA (true) or Programmed I/O (false). For some GPIB cards, this attribute may have global effects even though it is documented to be a local attribute, which may affect performance but not functionality.  
Public PropertyAtnState The current state of the GPIB ATN (ATtentioN) interface line.  
Public PropertyDeviceStatusByte The 488-style status byte of the local controller associated with this session. Trying to set this property to a value other than 0 will normally result in an exception.  
Public PropertyEventQueueCapacity The maximum number of events that can be queued at any time on this session. The default is 50. (Inherited from Keysight.Visa.VisaSession)
Public PropertyExportEnabledTogether with the Keysight ResourceManager.FindExportedResourcesOnly property, determines whether the resource associated with this session instance is reported by the Keysight ResourceManager.Find and ResourceManager.Parse methods. (Inherited from Keysight.Visa.VisaSession)
Public PropertyHardwareInterfaceName A human-readable description of the hardware interface associated with this session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyHardwareInterfaceNumber The board number of the hardware interface associated with this session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyHardwareInterfaceType The type (GPIB, ASRL, etc.) of the hardware interface associated with this session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyHS488CableLength The total length of the GPIB cable used in this GPIB interface, in meters.  
Public PropertyInternalHandle The VISA C handle to the underlying VISA C session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyIOProtocol The protocol type for I/O communication with the physical resource.  
Public PropertyIsControllerInCharge Indicates whether the specified GPIB interface is currently the controller in charge (CIC).  
Public PropertyIsSystemController Specifies whether the specified GPIB interface is currently the system controller.  
Public PropertyNdacState The current state of the GPIB NDAC (Not Data ACcepted) interface line.  
Public PropertyPrimaryAddress The primary address of the local GPIB controller used by the given session.  
Public PropertyRawIO A reference to the raw I/O interface.  
Public PropertyRemoteInterfaceProtocol The LAN protocol used for remote sessions. (Keysight Specific)  
Public PropertyRenState The current state of the GPIB REN (Remote ENable) interface line.  
Public PropertyResourceClass The resource class of the currently open resource. Possible values are INSTR, INTFC, MEMMAC, SOCKET, and BACKPLANE. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceImplementationVersion The version of this Keysight VISA.NET implementation. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceLockState The state of the resource-wide lock on the currently open resource. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceManagerA private instance of the ResourceManager created when this session was instantiated, and available until this session is disposed. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceManufacturerId The VXI manufacturer ID of the software vendor of this VISA.NET implementation - '4095'. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceManufacturerName The name of the software vendor that corresponds to the ResourceManufacturerId property - 'Keysight Technologies, Inc.'. (Inherited from Keysight.Visa.VisaSession)
Public 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 resourceName parameter used to instantiate the session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyResourceSpecificationVersion The version of the VISA.NET specification that describes the functionality provided by this session class. (Inherited from Keysight.Visa.VisaSession)
Public PropertySecondaryAddress The secondary address of the local GPIB controller used by the given session.  
Public PropertySendEndEnabled Enables/disables asserting an END on the last byte of a write.  
Public PropertySessionType The type of the current session. (Inherited from Keysight.Visa.VisaSession)
Public PropertySrqState The current state of the GPIB SRQ (Service ReQuest) interface line.  
Public 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. This property applies to this session only (local scope). (Inherited from Keysight.Visa.VisaSession)
Public PropertyTerminationCharacterThe ASCII character used to terminate a raw I/O read operation.  
Public PropertyTerminationCharacterEnabledIf true, a raw I/O read operation ends when a termination character is received.  
Public PropertyTimeoutMilliseconds The I/O timeout in milliseconds for I/O communication on this resource session. (Inherited from Keysight.Visa.VisaSession)
Public PropertyWaitForLockRelease Indicates whether methods and properties from this session instance will wait for a timeout period for a resource lock to be released (true) or not (false). (Inherited from Keysight.Visa.VisaSession)
Top
Public Methods
 NameDescription
Public MethodAssertTrigger Asserts a software trigger.  
Public MethodControlAtn Controls the state of the GPIB ATN interface line, and optionally the active controller state of the local interface board.  
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 MethodPassControlOverloaded.  Tells the GPIB device at the specified address to become controller in charge (CIC).  
Public MethodSendCommand Writes GPIB command bytes on the bus.  
Public MethodSendInterfaceClear Pulses the interface clear line (IFC) for at least 100 microseconds. This operation asserts the IFC line and the local interface becomes controller in charge (CIC).  
Public MethodSendRemoteLocalCommand Controls the state of the GPIB REN interface line and, optionally, the remote/local state of the device.  
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
Public Events
 NameDescription
Public EventCleared Occurs when the GPIB controller has been sent a device clear message.  
Public EventControllerInCharge Occurs when the GPIB controller has gained or lost CIC (controller in charge) status.  
Public EventListen Occurs when the GPIB controller has been addressed to listen.  
Public EventServiceRequest Occurs when a service request is received from the interface.  
Public EventTalk Occurs when the GPIB controller has been addressed to talk.  
Public EventTrigger Occurs when a trigger interrupt is received from the interface.  
Top
See Also

Reference

GpibInterfaceSession Class
Keysight.Visa Namespace

 

 


© Keysight Technologies 2015-2025