VXI SM8000 user manual Convert the HIGHBYTE into the major revision, form the version number

Models: SM8000

1 74
Download 74 pages 4.14 Kb
Page 68
Image 68
Convert the HIGH_BYTE into the major revision

 

 

 

 

VXI Technology, Inc.

 

 

 

 

8Ch

 

 

 

 

 

Command Name

Query Firmware Revision

 

 

 

 

 

 

 

Command Format

8Ch

 

 

 

 

 

 

Description

The Query Firmware Revision command returns the unit firmware revision in a 2-byte

 

 

(16-bit) format.

 

 

 

 

 

Example

The following example shows how to translate the HIGH_BYTE-LOW_BYTE

 

 

returned value into a two-place decimal firmware revision value:

 

 

1.

01h = 1

Convert the HIGH_BYTE into the major revision

 

 

 

 

number.

 

 

2.

20h = 32

Convert the LOW_BYTE into the minor revision

 

 

 

 

number.

 

 

3.

version 1.32

Put the major and minor numbers together to

 

 

 

 

form the version number.

 

 

 

8Dh

 

 

 

 

 

 

Command Name

Query Device ID

 

 

 

 

 

 

 

Command Format

8Dh

 

 

 

 

 

 

Description

The Query Device ID command returns the device ID in a 3-byte (6-nibble, 24-bit)

 

 

format. The most significant nibble is the device ID, while the remaining five nibbles

 

 

make up the device serial number.

 

 

 

 

 

Example

The following example translates the HIGH_BYTE-MID_BYTE-LOW_BYTE output

 

 

into the device code-serial number format:

Returned value.

 

 

1.

C02B33h

 

 

2.

C = Attenuator

First nibble is the device code.

 

 

3.

02B33 = serial number

Last five nibbles make up the serial

 

 

 

 

number of the unit.

68

SM8000 Series Programming

Page 68
Image 68
VXI SM8000 user manual Convert the HIGHBYTE into the major revision, number, Convert the LOWBYTE into the minor revision