Keysight VISA.NET Help
KeysightAttributeString Enumeration



Defines a list of standard (native) VISA C string 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 KeysightAttributeString 
   Inherits System.Enum
'Usage
 
Dim instance As KeysightAttributeString
public enum KeysightAttributeString : System.Enum 
public enum class KeysightAttributeString : public System.Enum 
Members
MemberDescription
InterfaceNameA standard VISA read-only attribute with value 0xbfff00e9 (VI_ATTR_INTF_INST_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding VisaSession.HardwareInterfaceName property, available for all session types.
KeysightInterfaceSerialNumberA Keysight-specific VISA read-only attribute with value 0x0fff0045 (VI_AGATTR_INTFC_SERIALNUMBER). Use with IKeysightNativeVisaSession.GetAttributeString for GPIB Interface sessions. There is no corresponding VISA.NET property. If the interface does not have a serial number it returns an empty string.
KeysightIOLibrariesPathA Keysight-specific VISA read-only attribute with value 0x0fff003c (VI_AGATTR_IOLIBRARIES_DIR). This VISA C resource manager attribute cannot be accessed directly - use the corresponding ResourceManager.IOLibrariesPath property instead.
KeysightIOLibrariesRegistryKeyA Keysight-specific VISA read-only attribute with value 0x0fff003d (VI_AGATTR_IOLIBRARIES_REG_PATH). This VISA C resource manager attribute cannot be accessed directly - use the corresponding ResourceManager.IOLibrariesRegistryKey property instead.
KeysightVisaFrameworkPathA Keysight-specific VISA read-only attribute with value 0x0fff003b (VI_AGATTR_VISA_FRAMEWORK_DIR). This VISA C resource manager attribute cannot be accessed directly - use the corresponding ResourceManager.VisaFrameworkPath property instead.
ManufacturerNameA standard VISA read-only attribute with value 0xbfff0072 (VI_ATTR_MANF_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding PxiBackplaneSession.ManufacturerName, PxiSession.ManufacturerName, UsbSession.ManufacturerName, or VxiSession.ManufacturerName property, depending on the session type.
ModelNameA standard VISA read-only attribute with value 0xbfff0077 (VI_ATTR_MODEL_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding PxiBackplaneSession.ModelName, PxiSession.ModelName, UsbSession.ModelName, or VxiSession.ModelName property, depending on the session type.
PxiSlotPathA standard VISA read-only attribute with value 0xbfff0207 (VI_ATTR_PXI_SLOTPATH). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding PxiSession.SlotPath property.
ResourceClassA standard VISA read-only attribute with value 0xbfff0001 (VI_ATTR_RSRC_CLASS). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding VisaSession.ResourceClass property, available for all session types.
ResourceManufacturerNameA standard VISA read-only attribute with value 0xbfff0174 (VI_ATTR_RSRC_MANF_NAME). Use with IKeysightNativeVisaSession.GetAttributeString and any session class. This attribute returns the value that applies to the underlying Keysight VISA C implementation rather than the VISA.NET implementation.
ResourceNameA standard VISA read-only attribute with value 0xbfff0002 (VI_ATTR_RSRC_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding VisaSession.ResourceName property, available for all session types.
TcpAddressA standard VISA read-only attribute with value 0xbfff0195 (VI_ATTR_TCPIP_ADDR). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.Address or TcpipSocketSession.Address property, depending on the session type.
TcpDeviceNameA standard VISA read-only attribute with value 0xbfff0199 (VI_ATTR_TCPIP_DEVICE_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.DeviceName property.
TcpHostNameA standard VISA read-only attribute with value 0xbfff0196 (VI_ATTR_TCPIP_HOSTNAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.HostName or TcpipSocketSession.HostName property, depending on the session type.
TcpSaslMechanismA standard VISA read-only attribute with value 0xbfff0274 (VI_ATTR_TCPIP_SASL_MECHANISM). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.SaslMechanism property, depending on the session type.
TcpServerCertificateA standard VISA read-only attribute with value 0xbfff0276 (VI_ATTR_TCPIP_SERVER_CERT). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.ServerCertificate or TcpipSocketSession.ServerCertificate property, depending on the session type.
TcpServerCertIssuerNameA standard VISA read-only attribute with value 0xbfff0270 (VI_ATTR_TCPIP_SERVER_CERT_ISSUER_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.ServerCertificateIssuerName or TcpipSocketSession.ServerCertificateIssuerName property, depending on the session type.
TcpServerCertSubjectNameA standard VISA read-only attribute with value 0xbfff0271 (VI_ATTR_TCPIP_SERVER_CERT_SUBJECT_NAME). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.ServerCertificateSubjectName or TcpipSocketSession.ServerCertificateSubjectName property, depending on the session type.
TcpTlsCipherSuiteA standard VISA read-only attribute with value 0xbfff0276 (VI_ATTR_TCPIP_TLS_CIPHER_SUITE). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding TcpipSession.TlsCipherSuite or TcpipSocketSession.TlsCipherSuite property, depending on the session type.
UsbSerialNumberA standard VISA read-only attribute with value 0xbfff01a0 (VI_ATTR_USB_SERIAL_NUM). Use with IKeysightNativeVisaSession.GetAttributeString, or (recommended) use the corresponding UsbSession.UsbSerialNumber property.
Remarks

Use this enumeration to supply legal values to the GetAttributeString 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.GetAttributeString 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.KeysightAttributeString

Requirements

Current with Keysight IO Libraries Suite 18

See Also

Reference

Keysight.Visa Namespace

 

 


© Keysight Technologies 2015-2025