User`s manual

Table Of Contents
VXI Technology, Inc.
SM8000 Series Programming 69
8Eh
Command Name
Query Calibration Table Entry
Command Format
8Eh HIGH_BYTE LOW_BYTE
Description
The Query Calibration Table Entry command returns the calibration table entry (step
position) for a given attenuation in a 2-byte (16-bit) format. The returned value is the
absolute step position the stepper motor would move to in order to generate the given
attenuation.
Example
The following example translates a decimal attenuation value (dB) into a
HIGH_BYTE and LOW_BYTE format for transmission to the device:
1. 100 x 34.39 = 3439
Multiply by 100 to convert decimal attenuation
value to an integer.
2. 3439 = 0D6Fh
Covert integer to hexadecimal.
3. HIGH_BYTE = 0Dh
LOW_BYTE = 6Fh
Convert to HIGH_BYTE and LOW_BYTE
format.
Example
The following example translates a HIGH_BYTE and LOW_BYTE hexadecimal
output to an integer decimal step number:
1. 0Dh & 6Fh = 0D6Fh
Concatenate HIGH_BYTE and LOW_BYTE.
2. 0D6Fh = 3439
Convert hexadecimal table entry to integer
decimal step number.