Labview Programming Reference Manual Visa Resource Name Control 2025-06-17-17-25-56
Labview Programming Reference Manual Visa Resource Name Control 2025-06-17-17-25-56
Programming
Reference
Manual
2025-06-17
LabVIEW Programming Reference Manual
Contents
VISA Resource Name Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 ni.com
VISA Resource Name Control
The following table shows the syntax for the VISA resource name string. Optional
parameters are shown in square brackets ([ ]).
Instr;
VXI/GPIB-VXI MBD
VXI INSTR VXI[board]::VXI logical address[::INSTR] Instr;
VXI/GPIB-VXI/VME
RBD Instr
VXI/GPIB-VXI/VME
VXI MEMACC VXI[board]::MEMACC
MemAcc
VXI VXI/GPIB-VXI
VXI[board][::VXI logical address]::BACKPLANE
BACKPLANE Backplane
VXI SERVANT VXI[board]::SERVANT VXI Servant
VXI/GPIB-VXI MBD
Instr;
GPIB-VXI
GPIB-VXI[board]::VXI logical address[::INSTR]
INSTR
VXI/GPIB-VXI/VME
RBD Instr
© National Instruments 3
VISA Resource Name Control
The VXI keyword is used for VXI instruments through either embedded or MXIbus
controllers. The GPIB keyword is used to establish communication with a GPIB device.
The GPIB-VXI keyword is used for a GPIB-VXI controller. The ASRL keyword is used to
establish communication with an asynchronous serial (such as RS232) device.
The following table shows the default value for optional string segments.
4 ni.com
VISA Resource Name Control
© National Instruments 5
VISA Resource Name Control
By default, the VISA resource name control is set to the Instr class, which also
corresponds to the class of the session to be opened. You can change the class type by
right-clicking the control in edit mode and selecting a different class from the shortcut
menu.
VISA functions vary in the class of VISA resource name that can be wired to them. The
valid classes for each function are listed in the NI-VISA Help. For example, the functions
on the Register Access and Low Level Register Access palettes do not accept VISA
sessions of class GPIB Instr or Serial Instr.
If you wire the VISA resource name control to a function that does not accept the class
of the session, or if you wire two resource names of differing classes together, the
block diagram will not run and a Class Conflict error is reported.
Note You can wire resource names set to the Event classes only to the VISA
Close function and a Property Node.
If you wire the VISA resource name control to a function that does not accept the class
of the session, or if you wire two resource names of differing classes together, the
block diagram will not run and a Class Conflict error is reported.
Note VISA name controls and constants are available on all platforms.
6 ni.com
VISA Resource Name Control
However, if you try to run a VI with a name control that contains a resource
string for a device that your platform does not support, you will receive an
error.