![Dectris MYTHEN Interface Manual Download Page 23](http://html1.mh-extra.com/html/dectris/mythen/mythen_interface-manual_2462219023.webp)
Socket Interface Specification. MYTHEN Detector System. Version: 3.0.0, Document Version: 2
23/34
7.1.5. Trigger / Gate
Table 5 Trigger and Gating control commands.
Synopsis
Argument
Description
Return
Type
Return Size
-conttrigen
˂b˃
0: Disable
1: Enable
Enables or disables the continuous trigger mode. In this
mode, each frame requires a trigger signal.
-delbef
˂time˃
Delay in units of 100ns
.
Default is
0ns.
Sets the delay between a trigger signal and the start of the
measurement
(“delay before frame”).
-gateen
˂b˃
0: Disable
1: Enable
Enables or disables the gated measurement mode.
-gates
˂n˃
Number of gates
.
Default
is
1.
Sets the number of gate signals within one frame.
-get conttrig
Returns whether the continuous trigger mode is enabled
(1) or not (0).
int
1
-get delbef
Returns the delay between a trigger signal and the start of
the measurement.
long long
1
-get gate
Returns whether the gated mode is enabled (1) or not (0).
int
1
-get gates
Returns the number of gates.
int
1
-get inpol
Returns the input polarity for the trigger and gate signals.
0: rising edge / active high, 1: falling edge / active low.
int
1
-get outpol
Returns the polarity of the enable out signal.
0: active high, 1: active low
int
1
-get trig
Returns whether the trigger mode is enabled (1) or not (0). int
1
-inpol
˂b˃
0: rising edge /
active high
1: falling edge /
active low
Sets the input polarity for trigger (rising or falling edge) and
gate signals (active high or low).
-
outpol ˂b˃
0: active high
1: active low
Sets the polarity of the enable out signal.