VXI SM8000 User Manual

Page 66

Advertising
background image

VXI Technology, Inc.

66

SM8000 Series Programming

83h

Command Name

Query Maximum Attenuation

Command Format

83h

Description

The Query Maximum Attenuation command returns the maximum attenuation setting
in a 2-byte (16-bit) format.

Example

The following example shows how to translate the HIGH_BYTE-LOW_BYTE
returned value into a dB attenuation value:

1.

0Dh & 6Fh = 0D6Fh

HIGH_BYTE and LOW_BYTE value to
hexadecimal value.

2.

0D6Fh = 3439

Convert hexadecimal value to an integer
decimal value.

3.

3439 / 100 = 34.39

Divide by 100 to convert to dB value.




89h

Command Name

Query Calibration Wavelength

Command Format

89h

Description

The Query Calibration Wavelength command returns the calibration wavelength value
in a 2-byte (16-bit) format. The calibration wavelength is an integer value that
represents the wavelength at which the attenuator was calibrated.

Example

The following example translates the HIGH_BYTE-LOW_BYTE returned value into
a decimal integer value:

1.

05h & DCh = 05DCh

HIGH_BYTE and LOW_BYTE value to
hexadecimal value.

2.

05DCh = 1500nm

Convert hexadecimal value to an integer
decimal value for wavelength (nm).




Advertising