Cmd_set_trigger_filter, Cmd_set_trigger_param, Cmd_set_eval_filter_type – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 12

Advertising
background image

MCA527

Command name

CMD_SET_TRIGGER_FILTER

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command sets the trigger filters used for low and high shaping time (tfl = 0 … 4, tfh = 0 … 4).
0 =

(-1; +1)

1 =

(-1; 0; +1)

2 =

(+1; -2; +1)

3 =

(+1; 0; -2; 0; +1)

4 =

(4* -1; 12* 0; 4* +1)

The command is ignored and responds with an error value if a measurement is still running.

Format

integer

integer

integer

integer

integer

integer

Parameter

preamble

command

tfl

tfh

0

end flag

Byte string (HEX)

A5

5A

03

01

tfl

00

tfh

00

00

00

B9

9B

Remarks

The trigger filter availability flags

18

(see CMD_QUERY_STATE527_EX, byte offset 88) mark the

available trigger filters. If a non-available trigger filter is tried to set, the command responds with an
error value.

Command name

CMD_SET_TRIGGER_PARAM

Compatibility

New MCA527 command (since firmware version 13.00).

Execution right

Necessary

Description

param: parameter to be set
0 =

Trigger level for automatic threshold calculation (see CMD_QUERY_STATE527, 78)

1 =

Trigger level for automatic threshold calculation for direct input (see
CMD_QUERY_STATE527_EX, 98)

2 =

Set trigger threshold (see CMD_QUERY_STATE527, 116)

value:

new value (for format and allowed range, see indicated data result array)

The command is ignored and responds with an error value if a measurement is still running.

Format

integer

integer

integer

long

integer

Parameter

preamble

command

param

value

end flag

Byte string (HEX)

A5

5A

06

01

p

l

p

h

value

l

...

...

value

h

B9

9B

Command name

CMD_SET_EVAL_FILTER_TYPE

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command sets the evaluation filter type (eft = 0 or 1)
0 =

standard filter

1 =

LF filter

The command is not standardly handled. It is only handled if the flag FEATURES_LF_REJECTION is
set within the value “MCA features” that is returned by CMD_QUERY_STATE527, byte offset 8.
The command is ignored and responds with an error value if a measurement is still running.

Format

integer

integer

integer

long

integer

Parameter

preamble

command

eft

0

end flag

Byte string (HEX)

A5

5A

14

01

eft

00

00

00

00

00

B9

9B

18 Since firmware version 12.00.

12

Advertising