VISA Resource Strings

The VISA Resource or Address string is an ASCII string describing the resource type, board number, other addressing information, and the session type of the resource you wish to open. Here are some example Resource Strings:

Resource String

Description

VXI0::1::INSTR

A VXI device at logical address 1 in VXI interface VXI0.

GPIB-VXI::9::INSTR

A VXI device at logical address 9 in a GPIB-VXI controlled VXI system.

GPIB::1::0::INSTR

A GPIB device at primary address 1 and secondary address 0 in GPIB interface 0.

ASRL1::INSTR

A serial device located on port 1.

VXI::MEMACC

Board-level register access to the VXI interface.

GPIB-VXI1::MEMACC

Board-level register access to GPIB-VXI interface number 1.

GPIB2::INTFC

Interface or raw resource for GPIB interface 2.

VXI::1::BACKPLANE

Mainframe resource for chassis 1 on the default VXI system, which is interface 0.

GPIB-VXI2::BACKPLANE

Mainframe resource for default chassis on GPIB-VXI interface 2.

GPIB1::SERVANT

Servant/device-side resource for GPIB interface 1.

VXI0::SERVANT

Servant/device-side resource for VXI interface 0.

TCPIP0::1.2.3.4::999::SOCKET

Raw TCP/IP access to port 999 at the specified address.

TCPIP::devicename@ company.com::INSTR

A TCP/IP device using VXI-11 located at the specified address. This uses the default LAN Device Name of inst0.

TCPIP0::[fe80::1]::hislip0::INSTR

A TCP/IP device using HiSLIP located at IPv6 IP address fe80::1.

USB::0x1234::0x5678::A22-5::INSTR

A USB Test & Measurement class device with manufacturer ID 0x1234, model code 0x5678, and serial number A22-5. This uses the device’s first available USBTMC interface. This is usually number 0.

PXI0::3-18::INSTR

PXI device 18 on bus 3.

PXI0::3-18.2::INSTR

Function 2 on PXI device 18 on bus 3.

PXI0::21::INSTR

PXI device 21 on bus 0.

PXI0::CHASSIS1::SLOT4::INSTR

PXI device in slot 4 of chassis 1.

PXI0::MEMACC

Access to system controller memory available to devices in the PXI system.