User`s guide
90
Programming Your Instruments
Addressing Instruments
Example: Addressing GPIB Instruments Using VISA/SICL
This figure shows example VISA and SICL addressing for GPIB instruments
connected to a PC via a GPIB interface.
The GPIB interface system consists of a Windows PC with two 82350 GPIB
cards connected to three GPIB instruments via GPIB cables. For this
system, the IO Config utility has been used to assign GPIB card #1 a VISA
name of “GPIB0” and a SICL name of “gpib0”.
IO Config has also been used to assign GPIB card #2 a VISA name of
“GPIB1” and a SICL name of “gpib1”. With these names assigned to the
interfaces, the VISA/SICL addressing is as shown in the figure.
Since unique names have been assigned by IO Config, you can use the
VISA
viOpen command to open the I/O paths to the GPIB instruments as
shown in this figure. Or, you can use the SICL
iopen command to open the
I/O paths shown.
5
82350 GPIB Card #1
Windows PC
3
3
GPIB InstrumentsGPIB CableInterface VISA/SICL Names
82350 GPIB Card #2
VISA Name SICL Name
"GPIB0" "hpib7"
"GPIB1" "hpib8"
VISA/SICL Addressing
VISA: viOpen (... "GPIB0::5::INSTR"...)
viOpen (... "GPIB0::3::INSTR"...)
viOpen (... "GPIB1::3::INSTR"...)
SICL: iopen ("hpib7, 5")
iopen ("hpib7,3")
iopen ("hpib8,3")
Open IO path to GPIB instrument at address 5 using 82350 Card #1
Open IO path to GPIB instrument at address 3 using 82350 Card #1
Open IO path to GPIB instrument at address 3 using 82350 Card #2
Open IO path to GPIB instrument at address 5 using 82350 Card #1
Open IO path to GPIB instrument at address 3 using 82350 Card #1
Open IO path to GPIB instrument at address 3 using 82350 Card #2
GPIB (82350) Addressing