Keysight VISA.NET Help
GetAttributeInt16 Method (IKeysightNativeVisaSession)



A constant that identifies one of the attributes (VISA.NET standard or Keysight-specific) supported by Keysight VISA.NET.
Retrieves the value of the specified 16-bit integer attribute from the native C implementation. (Keysight Specific)
Syntax
'Declaration
 
Function GetAttributeInt16( _
   ByVal attribute As KeysightAttributeInt16 _
) As Short
'Usage
 
Dim instance As IKeysightNativeVisaSession
Dim attribute As KeysightAttributeInt16
Dim value As Short
 
value = instance.GetAttributeInt16(attribute)
short GetAttributeInt16( 
   KeysightAttributeInt16 attribute
)
short GetAttributeInt16( 
   KeysightAttributeInt16 attribute
) 

Parameters

attribute
A constant that identifies one of the attributes (VISA.NET standard or Keysight-specific) supported by Keysight VISA.NET.

Return Value

The value of the attribute. Note that when calling to the underlying VISA implementation, unsigned values that exceed Int16.MaxValue are converted to negative Int16 values - no overflow is reported.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025