Cmd_query_uf6_info, Description of the mca527 firmware commands – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 49

Advertising
background image

Description of the MCA527 Firmware Commands

Name

CMD_QUERY_UF6_INFO

Compatibility

Compatible to the MCA166 command.

Execution right

Not necessary

Description

The command reads current dead time, real time, the integral, begin and end of up to three ROIs.
This is very useful during a running measurement because in this way there is no need for
transferring parts of the spectrum data for calculating the ROI integrals itself. The name of the
command refers to its original usage. The command is, of course, usable for all applications that
need this information.

Format

integer

integer

integer

long

integer

Parameter

preamble

command

0

0

end flag

Byte string (HEX)

A5

5A

66

00

00

00

00

00

00

00

B9

9B

Result data array

Byte offset 0

Dead time [msec]

unsigned long

Byte offset 4

Real time [sec]

unsigned long

Byte offset 8

Integral of the 1

st

ROI

unsigned long

Byte offset 12

Integral of the 2

nd

ROI

unsigned long

Byte offset 16

Integral of the 3

rd

ROI

unsigned long

Byte offset 20

1

st

ROI begin

unsigned long

Byte offset 24

1

st

ROI end

unsigned long

Byte offset 28

2

nd

ROI begin

unsigned long

Byte offset 32

2

nd

ROI end

unsigned long

Byte offset 36

3

rd

ROI begin

unsigned long

Byte offset 40

3

rd

ROI end

unsigned long

Byte offset 44

Fractional digits

of the real time [msec]

54

unsigned long

See CMD_QUERY_STATE527_EX,
byte offset 82

Byte offset 48

Area of the 1

st

ROI

54

unsigned long

Byte offset 52

Area error of the 1

st

ROI

54

unsigned long

Byte offset 56

Area of the 2

nd

ROI

54

unsigned long

Byte offset 60

Area error of the 2

nd

ROI

54

unsigned long

Byte offset 64

Area of the 3

rd

ROI

54

unsigned long

Byte offset 68

Area error of the 3

rd

ROI

54

unsigned long

Byte offset 72

unused

34 bytes

Byte offset 106

Command flag and parameters

8 bytes

Byte offset 114

unused

12 bytes

Byte offset 126

Checksum

unsigned short

Byte offset 128

unused

4 bytes

54 Since firmware version 14.02.

49

Advertising