Configure Connection in VISA Explorer
R2026bIdentify the instrument that you want to connect to using VISA by specifying the Interface and Resource Name.
Select the VISA interface that you want to use to connect to your instrument. Possible options for Interface are
TCP/IP VXI-11,TCP/IP HiSLIP,TCP/IP Socket,USB,GPIB,Serial,VXI, andPXI.If you are using the TCP/IP VXI-11, TCP/IP HiSLIP, or TCP/IP Socket interface:
You can click the Generate Resource Name button to generate your instrument's resource name. Specify parameters, including the instrument's board index, host name or IP address, port, and device ID, to automatically generate its resource name. You can also check if the generated resource name is valid by creating a test connection to it.
After you generate the resource name and successfully create a test connection, the Resource Name field is automatically filled out. For more information on the format of resource names for different interfaces, refer to the tables below.
If you are using the USB, GPIB, Serial, VXI, or PXI interface:
You can find the resource name in your VISA vendor's configuration utility, such as Keysight® Connection Expert or NI™ MAX. Your instrument must be listed in the vendor's configuration utility to be able to connect to it from VISA Explorer.
Specify the Resource Name as the value in your VISA vendor's configuration utility. For more information on the format of resource names for different interfaces, refer to the following tables.
Click the Test Connection button to attempt a connection to the specified resource name. The Connection Status displays Successful or Failed. You can view the instrument model and vendor if the test is successful and your instrument provides this information.
To start communicating with your instrument, click Confirm Parameters. If the connection is successful, your VISA resource appears in the Device List.
Go back to device selection at any time by clicking Cancel.
VISA Resource Name Formats
Each VISA interface has a different format, as described in the following table. The VISA resource name format and its parameters are defined by VISA standard specifications. Replace the italicized text with values for the specified parameters. The parameters in brackets are optional.
Interface | Resource Name |
|---|---|
| TCP/IP VXI-11 and TCP/IP HiSLIP | TCPIP[board]::remote_host[::lan_device_name]::INSTR |
| TCP/IP Socket |
|
| USB | USB[board]::vendor_ID::product_ID::serial_number[::interface_number]::INSTR |
| GPIB | GPIB[board]::primary_address[::secondary_address]::INSTR |
| Serial | ASRL[port_number]::INSTR |
| VXI | VXI[chassis]::VXI_logical_address::INSTR |
| PXI |
|
The resource name parameters are defined as follows.
| Interface | Parameter | Definition |
|---|---|---|
| All |
| Board index (default value of
|
| TCP/IP VXI-11 and TCP/IP HiSLIP |
| Remote host name or IP address of the instrument |
| Local Area Network (LAN) device name (default value of
| |
| Remote host port for TCP/IP socket | |
| USB |
| Manufacturer ID of the USB instrument |
| Model code for the USB instrument | |
| Index of the instrument on the USB hub | |
| USB interface | |
| GPIB |
| Primary address of the GPIB instrument |
| Secondary address of the GPIB instrument (default value of 0) | |
| Serial |
| Serial port number (default value of
|
| VXI and PXI |
| VXI or PXI chassis index (default value of |
| Logical address of the VXI instrument | |
| PCI bus number | |
| PCI device number | |
| PCI function number (default value of 0) | |
| Slot number |