Keysight VISA.NET Help
KeysightAttributeByte Enumeration



Defines a list of standard (native) VISA C byte attributes and Keysight-specific VISA C attributes. The value assigned to each member matches the value assigned to the corresponding VISA C attribute.
Syntax
'Declaration
 
Public Enum KeysightAttributeByte 
   Inherits System.Enum
'Usage
 
Dim instance As KeysightAttributeByte
public enum KeysightAttributeByte : System.Enum 
public enum class KeysightAttributeByte : public System.Enum 
Members
MemberDescription
DeviceStatusByteA standard VISA read/write attribute with value 0x3fff0189 (VI_ATTR_DEV_STATUS_BYTE). Use with IKeysightNativeVisaSession.GetAttributeByte and IKeysightNativeVisaSession.SetAttributeByte, or (recommended) use the corresponding GpibInterfaceSession.DeviceStatusByte property.
SerialReplaceCharacterA standard VISA read/write attribute with value 0x3fff00be (VI_ATTR_ASRL_REPLACE_CHAR). Use with IKeysightNativeVisaSession.GetAttributeByte and IKeysightNativeVisaSession.SetAttributeByte, or (recommended) use the corresponding SerialSession.ReplacementCharacter property.
SerialXOffCharacterA standard VISA read/write attribute with value 0x3fff00c2 (VI_ATTR_ASRL_XOFF_CHAR). Use with IKeysightNativeVisaSession.GetAttributeByte and IKeysightNativeVisaSession.SetAttributeByte, or (recommended) use the corresponding SerialSession.XOffCharacter property.
SerialXOnCharacterA standard VISA read/write attribute with value 0x3fff00c1 (VI_ATTR_ASRL_XON_CHAR). Use with IKeysightNativeVisaSession.GetAttributeByte and IKeysightNativeVisaSession.SetAttributeByte, or (recommended) use the corresponding SerialSession.XOnCharacter property.
TerminationCharacterA standard VISA read/write attribute with value 0x3fff0018 (VI_ATTR_TERMCHAR). Use with IKeysightNativeVisaSession.GetAttributeByte and IKeysightNativeVisaSession.SetAttributeByte, or (recommended) use the corresponding GpibInterfaceSession.TerminationCharacter or MessageBasedSession.TerminationCharacter (inherited by GPIB, Serial, TCPIP, TCPIP socket, USB, and VXI sessions) property, depending on the session type.
Remarks

Use this enumeration to supply legal values to the GetAttributeByte method defined in the IKeysightNativeVisaSession interface. All session classes derive from this interface, and so may be cast to this interface. There are several overloads of the IKeysightNativeVisaSession.GetAttributeByte method in this interface. To minimize the potential for error, Keysight recommends using the overload that uses this enumeration.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Keysight.Visa.KeysightAttributeByte

Requirements

Current with Keysight IO Libraries Suite 18

See Also

Reference

Keysight.Visa Namespace

 

 


© Keysight Technologies 2015-2025