Agilent Technologies E1418A User Manual Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 190
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
Initial Operation
This section provides a programming example to help verify correct module
installation and operation. Additional programming examples and procedures
are given in the next chapter.
The examples shown here use BASIC and SCPI (Standard Commands for
Programmable Instruments). The example assumes a factory set logical
address of 72 for the Agilent E1418A module and uses an Agilent Command
Module for command interpretation. Examples in ANSI C are given in the
next chapter.
Note This discussion applies to SCPI programming using the driver provided
with the module. The SCPI commands are described in Chapter 3 of this
manual. Appendix B of this manual describes direct register access.
Device Driver The Agilent E1418A module is shipped a driver CD. This CD contains the
SCPI instrument driver, VXIplug&play drivers, example programs, and
Agilent VIC (VXI Installation Consultant). Follow the instructions contained
on the CD to properly install the device driver.
The following example shows how to query the command module and
verify that the correct device driver is installed:
10 DIM A$[256]
20 OUTPUT 70900;"DIAG:DRIV:LIST?"
30 ENTER 70900;A$
40 PRINT A$
50 END
In this example, the command module is located on GPIB (interface address 7)
and uses a primary address of 09. Responses to this example vary depending
upon the drivers loaded on your system. A typical response might look like:
E1418,E1418,A.01.00,RAM;SWITCH,SWITCHBOX,A.08.00,RAM;
SYSTEM,E1405A,A.08.00,ROM;IBASIC,IBASIC,A.04.02,ROM;
VOLTMTR,E1326A,A.05.00,ROM;SWITCH,SWITCHBOX,A.07.00,
ROM;COUNTER,E1332A,A.04.02,ROM;COUNTER,E1333A,A.04.02,
ROM;DIG_I/O,E1330A,A.04.03,ROM;D/A,E1328A,A.04.02,ROM
Verify that the string E1418,E1418,A.01.00, is located somewhere
within the returned string.
Chapter 1 Module Setup and Installation 37
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 189 190

Comments to this Manuals

No comments