Agilent Technologies E4440-90189 Saw User Manual


 
Chapter 6 535
Programming Fundamentals
Using the LAN to Control the Instrument
Programming Fundamentals
logical unit number 7
timeout value (seconds) 30
LOAD statement (all on a single line)
LOAD BIN “GPIBS;DEV lan[191.108.344.225]:inst0 TIME 30 ISC 7
Consult your BASIC documentation to learn how to load the SICL
driver for BASIC.
After the SICL driver is loaded, you control your instrument using
commands such as the following:
OUTPUT 718; "*IDN?"
ENTER 718; S$
where 18 is the device address for the instrument.
See the BASIC example program in this chapter for more information.
Controlling Your Instrument with SICL LAN and BASIC for
UNIX (Rocky Mountain BASIC)
Before you can use Rocky Mountain Basic (HPRMB) with SICL LAN,
you will need to set up the SICL LAN I/O drivers for HPRMB. Consult
your system administrator for details.
Create a .rmbrc file in your root directory of your UNIX workstation
with the following entries:
SELECTIVE_OPEN=ON
Interface 8= "lan[analyzer IP address]:GPIB name";NORMAL
Replace analyzer IP address with the IP address of your instrument,
and GPIB name with the GPIB name given to your instrument. Also
replace the “8” of Interface 8 with the logical unit number. Consult
your HPRMB documentation for the exact syntax.
After your SICL driver is configured correctly on your UNIX
workstation, you control your instrument using commands such as the
following:
OUTPUT 818; "*IDN?"
ENTER 818; S$
where 18 is the device address for the instrument.