Chapter 3 Programming Your Counter for Remote Operation
Using Multiple Commands
3-20
Programming Guide
3
When multiple subsystem commands are sent in one program message,
the first command is always referenced to the root node. Subsequent
commands, separated by “;”, are referenced to the same level as the
preceding command if no “:” is present immediately after the command
separator (the semicolon).
For example, sending :SENS:AVER:COUN 5; STAT ON is equivalent to
sending:
:SENS:AVER:COUN 5
:SENS:AVER:STAT ON
or
:SENS:AVER:COUN 5;:SENS:AVER:STAT ON
The “:” must be present to distinguish another root level command. For
example:
:SENS:AVER:COUN 5;:INIT:CONT OFF
is equivalent to sending:
:SENS:AVER:COUN 5
:INIT:CONT OFF
If the “:”(which is following the “;” and is in front of INIT) is omitted, the
Counter assumes that the second command is “:SENS:AVER:INIT:CONT
OFF” and generates a syntax error.
Содержание 53150A Series
Страница 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Страница 2: ......
Страница 10: ...Contents x Programming Guide ...
Страница 11: ...1 Before You Start ...
Страница 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Страница 21: ...2 Command Summary A Quick Reference ...
Страница 41: ...3 Programming Your Counter for Remote Operation ...
Страница 100: ...Chapter 3 Programming Your Counter for Remote Operation Programming Examples 3 60 Programming Guide 3 ...
Страница 101: ...4 Command Reference A Dictionary ...
Страница 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Страница 163: ...5 Errors ...
Страница 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Страница 184: ......
Страница 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...