1 basis file block, Mca527 – GBS Elektronik MCA-527 Binary Data Format User Manual

Page 10

Advertising
background image

MCA527

3 General mode = 'Timestamps recorder' (= 3, 4 or 5)

This file format is used by the 'Timestamps Recorder' computer program that operates the general modes
'Timestamps recorder (level triggered)' (= 3), 'Timestamps recorder (edge triggered)” (= 4) and Timestamps
recorder (analog high rate counting)” (= 5). Since the parameters of the these general modes differ only slightly,
an identical file format is used for these general modes. The basis file block contains however some
parameters that are only relevant for one of these general modes.

3.1 Basis file block

Position

Name

Data type

References

Byte offset 0

Header

28 bytes

Byte offset 28

Application identification

32 characters

'WinTimestamps Version 1.00.0000 '

Byte offset 60

Time unit length [nanoseconds]

unsigned short

Byte offset 62

Preset

unsigned short CMD_QUERY_STATE, byte offset 2

Byte offset 64

Preset value

unsigned long

CMD_QUERY_STATE, byte offset 4

Byte offset 68

Preset memory size

unsigned long CMD_QUERY_STATE527_EX, byte offset 4

Byte offset 72

Used memory size

unsigned long CMD_QUERY_STATE527_EX, byte offset 8

Byte offset 76

High voltage [V]

unsigned short CMD_QUERY_STATE, byte offset 56

Byte offset 78

High voltage polarity

unsigned short CMD_QUERY_STATE, byte offset 58

Byte offset 80

HV inhibit mode

short

CMD_QUERY_STATE, byte offset 122

Byte offset 82

Preamplifier power switches

unsigned short CMD_QUERY_STATE, byte offset 60

Byte offset 84

TTL low level [ * 0.1 V]

4

unsigned char CMD_QUERY_STATE527_EX, byte offset 96

Byte offset 85

TTL high level [ * 0.1 V]

4

unsigned char CMD_QUERY_STATE527_EX, byte offset 97

Byte offset 86

Amplifier coarse gain

5

unsigned short CMD_QUERY_STATE, byte offset 48

Byte offset 88

ADC input polarity

5

unsigned short CMD_QUERY_STATE, byte offset 78

Byte offset 90

Shaping time choice

5

unsigned short CMD_QUERY_STATE, byte offset 80

Byte offset 92

Trigger filter for low shaping time

5

unsigned char CMD_QUERY_STATE527, byte offset 34

Byte offset 93

Trigger filter for high shaping time

5

unsigned char CMD_QUERY_STATE527, byte offset 35

Byte offset 94

Offset DAC

5

unsigned short CMD_QUERY_STATE527, byte offset 38

Byte offset 96

Trigger level for automatic threshold
calculation [ * 0.0625]

5

unsigned short CMD_QUERY_STATE527, byte offset 78

Byte offset 98

Set trigger threshold [ * 0.00006103515625]

5

long

CMD_QUERY_STATE527, byte offset 116

Byte offset 102 Extension port part A configuration

unsigned char CMD_QUERY_STATE527_EX, byte offset 24

Byte offset 103 Extension port part B configuration

unsigned char CMD_QUERY_STATE527_EX, byte offset 25

Byte offset 104 Extension port part C configuration

unsigned char CMD_QUERY_STATE527_EX, byte offset 26

Byte offset 105 Extension port part F configuration

unsigned char CMD_QUERY_STATE527_EX, byte offset 29

Byte offset 106 Extension port RS232 baud rate

unsigned short CMD_QUERY_STATE527_EX, byte offset 52

Byte offset 108 Extension port RS232 flags

unsigned short CMD_QUERY_STATE527_EX, byte offset 54

Byte offset 110 Start flag

unsigned short CMD_QUERY_STATE, byte offset 130

4 relevant only for general mode 'Timestamps recorder (level triggered)' (= 3)
5 relevant only for general mode 'Timestamps recorder (edge triggered)' (= 4)

10

Advertising