Table A 1: But Button Codes - Tektronix 222PS Operator's Manual

Powerscout power systems
Table of Contents

Advertisement

Programmers: additional bytes may be added to the data
string after the checksum byte. This space is reserved for
future expansion.
H
BUT <button>;
This command simulates a button press, where <button> is
composed of one or two ASCII characters that represent a button
code. The button codes are shown in Table A 1.
Code
1
2
3
222PS Operator Manual
<mode byte> is composed of two characters that indicate
the mode the 222PS requires to display a waveform.
Normally this byte will be 00. If the waveform is not
completely filled (which can happen at very high sweep
speeds), this byte will be 02. If it is an XY waveform, the
byte will be 03.
<byte count> is composed of four ASCII characters repre
senting the data byte count for the waveform data (in
hexadecimal).
<waveform data> can be one of two ASCII character
sequences, depending on which display mode the
instrument is in. In YT mode, each data point is the
hexadecimal value (represented by two ASCII charac
ters) of the Y coordinate. In XY mode, the X and Y coor
dinates are sent as two hexadecimal values (represented
by four ASCII characters) with the X coordinate value
first, followed by the Y coordinate value.
<checksum> is composed of two ASCII characters that
represent the hexadecimal twos complement of the
modulo 256 checksum of all data bytes, byte count
bytes, and mode byte.

Table A 1: BUT Button Codes

Simulated Button Press
CLEAR
Menu Item 0
Menu Item 1
Appendix B: Remote Communication
NOTE
A 15

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 222PS and is the answer not in the manual?

Table of Contents