4.7.7.3
Opening a VISA Connection
Test and automation programs may easily be written if they use the VISA libraries. The supported
VISA functions include Open, Read, Write and Close.
A VISA resource descriptor is used to describe a particular supply. For the
supply, the descriptors are found on the supply's Home web page. The VISA resource may use the
supply's IP address or hostname.
Example of VISA resource descriptors are:
Format: TCPIP[board]::IP address/Host Name[::LAN device name][::INSTR]
[board] is the LAN card number, zero is optional
[::LAN device name] is by default "inst0"
[::INSTR] is optional
Examples:
TCPIP::10.255.26.60
TCPIP::10.225.26.60::inst0::INSTR
TCPIP0::10.225.26.60::inst0::INSTR
4.7.7.4
Communicating Using VISA
The VISA Write function sends SCPI commands to the power supply. The VISA read function
reads the response returned from the SCPI query.
4.7.8
Programming Using Sockets
4.7.8.1
Socket Description
The VISA drivers for the
Measurement industry. For customers who cannot use VISA because of installation, licensing
issues or because the controller (i.e.: industrial PLC) does not support VISA, the
socket connections. Socket is a low-level LAN protocol that is universally available in all operating
systems and programming environments.
4.7.8.2
Communicating Using Sockets
Communicating through sockets involves opening a socket connection, sending SCPI text
commands and reading the responses. The function by which a programming language manages
the socket is the TCP stack.
There are two types of socket protocols which may be used: TCP and UDP. Each has its own port
number, as described in sections 4.7.8.6 and 4.7.8.7.
4.7.8.3
Controller Access: Single and Multiple Clients
The web page has a security setting to limit or enable the types of connections and the numbers of
control computers (called "clients") that may be connected at a time.
The single or multiple clients setting may be viewed on the LAN Configure Modify web page.
power supply are commonly used in the Test and
78
power
offers
Need help?
Do you have a question about the GH10-100 and is the answer not in the manual?