beautypg.com

Cmd_query_system_data – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 30

background image

MCA527

Command name

CMD_QUERY_SYSTEM_DATA

Compatibility

Compatible to the MCA166 command.

Execution right

Not necessary

Description

The command reads the special MCA data.

Format

integer

integer

integer

long

integer

Parameter

preamble

command

0

0

end flag

Byte string (HEX)

A5

5A

62

00

00

00

00

00

00

00

B9

9B

Result data array

Byte offset 0

unused

10 bytes

Byte offset 10

Detected counts

48 bit integer

Byte offset 16

unused

20 bytes

Byte offset 36

MMCA on time [s]

unsigned long

Byte offset 40

Real time [s] of previous sweep (repeat mode)

unsigned long

Byte offset 44

Dead time [ms] of previous sweep (repeat mode) unsigned long

Byte offset 48

Start time of previous sweep (repeat mode)

unsigned long

Byte offset 52

Fast dead time [ms] of prev. sweep (rep. mode)

unsigned long

Byte offset 56

Elapsed sweeps (repeat mode)

unsigned long

Byte offset 60

Busy time [ms] of previous sweep (repeat mode) unsigned long always 0 at MCA527

Byte offset 64

Fractional digits

30

of the real time [msec] of

previous sweep (repeat mode)

unsigned short

unused

8 bytes

Byte offset 74

Detected counts of previous sweep (repeat
mode)

48 bit integer

Byte offset 80

Counter of stabilization steps

unsigned long

Byte offset 84

Current stabilization offset

long

Byte offset 88

Maximal negative stabilization offset

long

Byte offset 92

Maximal positive stabilization offset

long

Byte offset 96

Counter of received commands

unsigned long

Byte offset 100

Counter of unsuccessful commands

unsigned long

Byte offset 104

unused

2 bytes

Byte offset 106

Command flag and parameters

8 bytes

Byte offset 114

Read out buffer state

unsigned short OCCUPIED

= 0x2000

OVERRUN

= 0x4000

FILLED

= 0x8000

Byte offset 116

Stabilization area preset

unsigned long

Byte offset 120

Stabilization time preset [sec]

unsigned short

Byte offset 122

Low shaping time [ * 0.1 µsec]

unsigned char

Byte offset 123

High shaping time[ * 0.1 µsec]

unsigned char

30 Since firmware version 14.03.

30