Technical data

608 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.5 GHz
28 Programming Fundamentals
For example, the following LOAD statement should be added to your AUTOST program for
the parameters listed below:
instrument IP address
191.108.344.225
instrument GPIB name
inst0
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[N8201A IP address]:GPIB name";NORMAL
Replace N8201A 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: