Keysight-Defined VISA Attributes
This topic summarizes the attributes specific to Keysight's VISA implementation. They are defined in the visa.h file distributed with Keysight VISA.
![]() |
The |
![]() |
Attributes are local or global. A local attribute only affects the session specified. A global attribute affects the specified device from any session. Attributes can also be read only (RO) and read/write (RW). |
SCPI/TULIP Information
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
|
---|---|---|---|---|---|---|---|
0x0FFF002BL |
RW |
Local |
ViBoolean |
VI_TRUE / VI_FALSE |
all VISA sessions |
Indicates whether a lock-abiding VISA function that has been exclusively locked by another session will:
|
TCPIP Attributes
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
|
---|---|---|---|---|---|---|---|
0x0FFF001FL |
RO
|
Local |
ViUInt32 |
VI_KTPROT_VXI11 VI_KTPROT_SICLLAN VI_KTPROT_HISLIP VI_KTPROT_UNKNOWN (on non-LAN sessions) |
INSTR, INTFC |
The interface protocol being used on this session.
|
|
0x0FFF001CL |
RO
|
Local |
ViUInt16
|
VI_INTF_GPIB VI_INTF_ASRL VI_INTF_VXI VI_KTINTF_USRDEF VI_KTINTF_LANINST VI_KTINTF_RSIB VI_KTINTF_SOCKET VI_KTINTF_HISLIP VI_INTF_USB |
INSTR, INTFC |
The type of remote interface for this session. Notes:
|
Export Attributes
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
||
---|---|---|---|---|---|---|---|---|
0x0FFF0020L |
RW |
Global |
ViBoolean |
VI_TRUE / |
All VISA sessions |
Determines whether the resource should be exported and thus be visible to another vendor’s VISA implementation. The default value for this attribute depends on the VISA interface. |
||
0x0FFF0021L |
RW
|
Local |
ViBoolean |
VI_TRUE / |
DefaultRM sessions only |
When this attribute is VI_TRUE, only those resources whose VI_KTATTR_EXPORT_ENABLED attribute is VI_TRUE will be returned from viFindRsrc() and viParseRsrc(). The default value is VI_FALSE, which means that all resources will be returned regardless of the value of their VI_KTATTR_EXPORT_ENABLED attribute. |
GPIB Attributes
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
||
---|---|---|---|---|---|---|---|---|
0x0FFF0028L |
RW |
Global |
ViiNT32 |
VI_KT_GPIB_T1DELAY_MIN to VI_KT_GPIB_T1DELAY_MAX (value is in nanoseconds) |
GPIB INTFC resources |
The value is the time of t1 delay in nanoseconds. Note: Most GPIB interfaces support only a small number of t1 delays, so the actual t1 delay value used by the interface could be different than that specified. The actual delay value used may be retrieved by calling viGetAttribute(). |
||
0x0FFF001FL |
RO
|
Local |
ViUInt32 |
VI_KTPROT_VXI11 VI_KTPROT_SICLLAN VI_KTPROT_HISLIP VI_KTPROT_UNKNOWN (on non-LAN sessions) |
INSTR, INTFC |
The interface protocol being used on this remote session. Undefined if this interface is not remote.
|
PXI Attributes
This section contains information specific to the Windows product.
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
||
---|---|---|---|---|---|---|---|---|
0x0FFF0053L |
RW |
Local |
ViBoolean |
VI_TRUE, VI_FALSE |
VISA PXI sessions |
This is a Keysight-specific attribute that is now superseded by the standard VISA attribute VI_ATTR_PXI_ALLOW_WRITE_COMBINE. |
Miscellaneous Attributes
Attribute |
Attribute Value |
Access Privileges |
Data Type |
Range |
Used by |
Description |
||
---|---|---|---|---|---|---|---|---|
0x0FFF0032L |
RW |
Local |
ViBoolean |
VI_TRUE / |
All VISA sessions |
This attribute was added in VISA 3.0. The VISA 3.0 spec required that in viMove, the srcIncrement/destIncrement from/to local memory is ignored. This means FIFO moves from/to local memory are disallowed. Keysight's VISA implementation allowed FIFO moves from/to local memory in VISA implementations prior to VISA 3.0 so this represents a change in behavior in VISA 3.0 Setting this attribute to VI_TRUE will revert to the pre-VISA 3.0 behavior and allow FIFO moves from/to local memory. Note: The default behavior can be changed by modifying the registry DWORD value: DefaultAllowLocalSpaceFifo to 1 in: HKLM\SOFTWARE\Keysight\IO Libraries\CurrentVersion\VisaInfo |
||
0x0FFF001FL |
RO
|
Local |
ViUInt32 |
VI_KTPROT_VXI11 VI_KTPROT_SICLLAN VI_KTPROT_HISLIP VI_KTPROT_UNKNOWN (on non-LAN sessions) |
INSTR, INTFC |
The interface protocol being used on this remote session. This applies to TCPIP, Remote GPIB, Remote ASRL, and Remote USB interfaces. Undefined if this interface is not remote.
|
||
0x0FFF0045L |
RO
|
Global |
ViString |
N/A |
INTFC sessions only |
This attribute was added in Suite 15.1. It returns the serial number of an interface. If the interface does not have a serial number it returns an empty string. Interfaces that don’t support this attribute will return the VI_ERROR_NSUP_ATTR status code. |
||
0x0FFF0062L |
RW |
Global |
ViBoolean |
VI_TRUE/VI_FALSE |
VISA DefaultRM session |
Specifies whether VISA's viFindRsrc function returns all of the instruments discovered by the Discovery Service. |
||
0x0FFF003BL |
RO
|
Global |
ViString |
N/A |
VISA defaultRM session |
Returns the directory where VISA is installed. |
||
0x0FFF003CL |
RO
|
Global |
ViString |
N/A |
VISA defaultRM session |
Returns the directories where the IO Libraries are installed. |
||
0x0FFF003DL |
RO
|
Global |
ViString |
N/A |
VISA defaultRM session |
Returns the registry path for the Keysight IO Libraries Suite. |