8003 Precision Scalar Analyzer
3-26 Manual 20791, Rev. C, June 2001
Because the key stroke emulator is implemented as a succession of key strokes, certain
limitations should be kept in mind:
1. The go to local command just before key stroke emulation will terminate most GPIB
functions still in progress. A waiting time of at least 1 second between the last GPIB
command and the go to local command is recommended. Likewise, a small 10
millisecond waiting period after the go to local command has been given is
recommended before giving key stroke emulation commands.
2. The key stroke emulator buffers a maximum of 16 characters or individual key
strokes. The buffer is emptied serially as the instrument completes each keystroke
emulation. If the buffer is full, any extra key strokes sent to the instrument will be lost.
The time it takes to empty the buffer varies depending on the key stroke function
requested. Some key strokes such as entering limit lines are processed quickly,
while others such as plotting take a longer time to process. It is up to the
programmer to make sure that the instrument has digested the key strokes in its
buffer before sending new key strokes.
3. When given a go to remote command after key stroke emulation, the analyzer will
wait for the key stroke commands to finish execution before processing any further
bus commands. This feature allows a program to automatically wait for the execution
of slow key stroke commands (such as plotting). See the example on the next page
for use of this feature to separate two key stroke commands when the first takes an
indeterminate amount of time.
Table 3-1: Definition of ASCII Codes
Key
Stroke
Definition
Key
Stroke
Definition
Key
Stroke
Definition
A soft 1 O Memory 5 5
B soft 2 P Start freq 6 6
Csoft 3QPower7 7
D soft 4 R Stop freq 8 8
E soft 5 S Sweep time 9. 9
F soft 6 T Preset a Enter off
G soft 7 U Config b Backspace
H soft 8 - Minus c MHZ/msec/dBm
I Define . Decimal pt d GHZ/sec/dB
J Meas 0 0 e Channel 1
K Scale 1 1 f Channel 2
L Disp 2 2 g Channel 3
M Cal 3 3 h Channel 4
N Cursor 4 4 i Channel off