beautypg.com

Cmd_set_time_per_channel527, Cmd_set_gain, Cmd_set_offset_dac – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 9: Description of the mca527 firmware commands

background image

Description of the MCA527 Firmware Commands

Command name

CMD_SET_TIME_PER_CHANNEL527

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command sets the dwell time per channel (tpc: 1 … 42949672

15

) for the MCS mode. The dwell

time is tpc * 0.1 ms.
The command is ignored and responds with an error value if a measurement is still running.

Format

integer

integer

long

integer

integer

Parameter

preamble

command

tpc

0

end flag

Byte string (HEX)

A5

5A

15

01

tpc

l

...

...

tpc

h

00

00

B9

9B

Remarks

This command has been added for setting the dwell time with higher resolution.

Command name

CMD_SET_GAIN

Compatibility

Compatible to the MCA166 command.

Execution right

Necessary

Description

The command sets the amplifier coarse(cg) and fine gain(fg).
cg:

2, 5, 10, 20, 50, 100, 200, 500 or 1000

fg:

5000 ... 65000

Format

integer

integer

integer

integer

integer

integer

Parameter

preamble

command

cg

fg

0

end flag

Byte string (HEX)

A5

5A

4C

00

cg

l

cg

h

fg

l

fg

h

00

00

B9

9B

Remarks

Not all coarse gain levels are realized by hardware. Some coarse gain levels are realized by
firmware. The information that coarse gain levels are really hardware-based is returned by
CMD_QUERY_STATE527, byte offset 125.

Command name

CMD_SET_OFFSET_DAC

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command sets the offset DAC

16

.

dac:

0 … 16383

Format

integer

integer

integer

long

integer

Parameter

preamble

command

dac

0

end flag

Byte string (HEX)

A5

5A

0A

01

dac

l

dac

h

00

00

00

00

B9

9B

15 As from firmware version 13.04, the upper bound has been reduced in favor of other requirements.
16 There are hardware modifications without offset DAC. In such a case, the command has no effect.

9