HP (Hewlett-Packard) 86140A TV Cables User Manual


 
4-9
Remote Operation
Getting Started
Numbers
All numbers are expected to be strings of ASCII characters. Thus, when send-
ing the number 9, you would send a byte representing the ASCII code for the
character 9 (which is 57). A three-digit number like 102 would take up three
bytes (ASCII codes 49, 48, and 50). This is taken care of automatically when
you include the entire instruction in a string. Several representations of a
number are possible. For example, the following numbers are all equal:
28, 0.28E2 and 280E-1.
If a measurement cannot be made, no response is given and an error is placed
into the error queue. For example,
*RST
:CALC1:MARK1:X?
will timeout the controller and place a
Settings conflict
error in the error
queue.
Program message terminator
The string of instructions sent to the instrument is executed after the instruc-
tion terminator is received. The terminator may be either a new-line (NL)
character, the End-Or-Identify (EOI) line asserted, or a combination of the
two. All three ways are equivalent. Asserting the EOI sets the EOI control line
low on the last byte of the data message. The NL character is an ASCII line-
feed (decimal 10). The NL terminator has the same function as an EOS (End
Of String) and EOT (End Of Text) terminator.
Table 4-3. Suffix Multipliers
Multiplier Mnemonic Multiplier Mnemonic
1E18 EX 1E-3 M
1E15 PE 1E-6 U
1E12 T 1E-9 N
1E9 G 1E-12 P
1E6 MA 1E-15 F
1E3 K 1E-18 A
book.book Page 9 Monday, January 31, 2000 10:34 AM