GBS Elektronik MCA-527 Firmware Commands User Manual

Page 40

Advertising
background image

MCA527

Command name

CMD_QUERY_STATE527_EX (Continuation)

Result data array

Byte offset 56

Extension port counter 1

unsigned long

Byte offset 60

Extension port counter 1 cps

unsigned long

Byte offset 64

Extension port counter 1 of previous sweep

unsigned long

Byte offset 68

Extension port counter 2

unsigned long

Byte offset 72

Extension port counter 2 cps

unsigned long

Byte offset 76

Extension port counter 2 of previous sweep

unsigned long

Byte offset 80

RS232 transfer buffer byte count

unsigned short

Byte offset 82

Fractional digits

45

of the real time [msec]

unsigned short

The integer part of the real time is
returned by CMD_QUERY_STATE, byte
offset 20.

Byte offset 84

PUR counter of previous sweep

unsigned long

Byte offset 88

Trigger filter availability flags

46

unsigned long Bit n = 1 means trigger filter n is

available.

Byte offset 92

Trigger filter value1 [ * 0.00006103515625]

short

According the selected trigger
filter:
(value2; value1)
(value2; 0; value1)
(value1; value2; value1)
(value1; 0; value2; 0; value1)

Byte offset 94

Trigger filter value2 [ * 0.00006103515625]

short

Byte offset 96

TTL low level [ * 0.1 V]

unsigned char

Byte offset 97

TTL high level [ * 0.1 V]

unsigned char

Byte offset 98

Trigger level for automatic threshold calculation
for direct input [ * 0.0625]

unsigned short 80 … 1600

Byte offset 100

ADC overflows per second

47

unsigned long

Byte offset 104

ADC sampling rate [kilohertz]

47

unsigned short

Byte offset 106

Command flag and parameters

8 bytes

Byte offset 114

File size

48

corresponding to setup [kilobytes]

2 bytes

Byte offset 116

Total microSD card memory size [kilobytes]

4 bytes

Byte offset 120

Free microSD card memory size [kilobytes]

49

4 bytes

Byte offset 124

File writing state

1 byte

0 = idle, ≠0 = in process

Byte offset 125

Result of last file writing

1 byte

-1

= not yet executed

0

= unsuccessful

1

= successful

Byte offset 126

Checksum

unsigned short

Byte offset 128

MCA state

unsigned short See CMD_QUERY_POWER

Byte offset 130

unused

2 bytes

45 Since firmware version 13.04. If the value is returned during a running measurement, it should be treat with caution. Since the

integer part of the real time is returned by another command, the user must consider the time difference between the
commands.

46 Since firmware version 12.00.
47 Since firmware version 13.04.
48 This is the needed size on the microSD card.
49 This is the free microSD card memory size minus the size of one cluster that is reserved for a potential expansion of the

directory.

40

Advertising