Agilent Technologies C-Size VXIbus Systems Instrukcja Użytkownika Strona 148

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 178
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 147
ARM:LAY2:SOUR EXT
ARM:LAY2:SLOP POS
ARM:LAY2:COUN 10
Note that the semicolon (;) and colon (:) link commands within different
subsystems. Only a semicolon (;) is required to link commands within the
same subsystem.
Terminating Commands All command sequences must end with a proper terminator called a
program message terminator. This may be a Line Feed (LF), Line Feed with
EOI (End-Or-Identify), or EOI. Most programming systems provide some
method of specifying the terminator. BASIC for example, automatically
provides a Line Feed at the end of all OUTPUT statements.
Data returned from a VXI instrument will always terminate with a Line
Feed and EOI. BASIC ENTER statements will terminate with this.
DEBUG2 : Verify the System Logical Addresses
One of the most common errors encountered is a logical address that is set
incorrectly. A common mistake is to interpret the most-significant-bit
(MSB) for the least-significant-bit (LSB), or to interpret a 1 setting for a 0
setting.
Use the VXI:CONF:LADD? command to return a list of all logical
addresses in the system. This allows you to verify that the system sees the
switch settings as you intended.
/* reserve computer memory (approximately 128 bytes) for the data */
/* returned */
VXI:CONF:LADD?
/* enter and print results of command */
These logical addresses, divided by eight, are the secondary (GPIB)
addresses of the instruments in the system.
You can execute the following query to find additional information about an
instrument at a specific logical address:
/* select the instrument at logical address 24 */
VXI:SEL 24
/* send INFormation? command to receive information on the instrument */
/* enter and print the data returned */
VXI:CONF:INF?
6-8 System Programming and Debugging C-Size Configuration Guide
Przeglądanie stron 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 177 178

Komentarze do niniejszej Instrukcji

Brak uwag