43
Chapter 1, Using HP-IB
Getting Started
•
Guideline #4. Use single quotes and spaces properly.
The syntax diagrams in
show where single quotes
are needed and where spaces are needed.
Example
OUTPUT 714;"DISP<space>AFAN"
OUTPUT 714;"AFAN:DEMP<space>’Off’"
Improper use of single quotes and spaces will cause,
HP-IB Error:-103 Invalid Separator
•
Guideline #5. Ensure that settable fields are active by using the STATe ON command.
When making settings to fields that can be turned OFF with the STATe ON/OFF
command (refer to the
), make sure the STATe is
ON if the program uses that field. Note that if the STATe is OFF, just setting a
numeric value in the field will not change the STATe to ON. This is different than
front-panel operation whereby the process of selecting the field and entering a value
automatically sets the STATe to ON. Programmatically, fields must be explicitly set to
the ON state if they are in the OFF state.
For example, the following command line would set a new AMPS ENCoder SAT tone
deviation and then turn on the SAT tone (note the use of the ; to back up one level in
the command hierarchy so that more than one command can be executed in a single
line):
Example
OUTPUT 714;"ENC:AMPS:SAT:FM 2.1 KHZ;FM:STAT ON"
To just turn on the SAT tone without changing the current setting the following
commands would be used:
OUTPUT 714;"ENC:AMPS:SAT:FM:STAT ON"
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...