Agilent Technologies C-Size VXIbus Systems Uživatelský manuál Strana 144

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 143
E1406/05 Command Module. See the sections "SICL Addressing" and
"Compiled SCPI Addressing" for programs to verify communication with
V/382 HP-UX operating systems.
COMM1C : SICL
Addressing
In systems using the Standard Instrument Command Language (SICL), a
communication channel must be opened between the computer and a VXI
instrument. This communication channel is referred to as a device session.
A device session is opened by specifying a device address within the
IOPEN function. For example:
instrument = iopen("vxi,24");
opens a device session over the VXIbus between the computer and the VXI
instrument at logical address 24. Similarly:
instrument = iopen("hpib,9,3");
opens a device session over GPIB between the computer and the VXI
instrument at secondary GPIB address 3 (logical address 24).
Sending the *IDN?
Command
The following SICL program sends the *IDN? command to the Agilent
E1411B multimeter to verify communication between the computer and the
VXI mainframe. As an example, execution of the *IDN? command may
return:
HEWLETT-PACKARD,E1411B,0,B.05.00
6-4 System Programming and Debugging C-Size Configuration Guide
Zobrazit stránku 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 177 178

Komentáře k této Příručce

Žádné komentáře