102
M2i.30xx / M2i.30xx-exp Manual
Channel Trigger
Trigger modes and appendant registers
Channel pulsewidth trigger for short positive pulses
The analog input is continuously sampled with the selected
sample rate. If the programmed trigger level is crossed by
the channel’s signal from lower to higher values (rising
edge) the pulsewidth counter is started. If the pulsewidth
counter reaches the programmed amount of samples, no
trigger will be detected.
If the signal does cross the trigger level again within the the
programmed pulsewidth time, a triggerevent will be detect-
ed.
Channel pulsewidth trigger for short negative pulses
The analog input is continuously sampled with the selected
sample rate. If the programmed trigger level is crossed by
the channel’s signal from higher to lower values (falling
edge) the pulsewidth counter is started. If the pulsewidth
counter reaches the programmed amount of samples, no
trigger will be detected.
If the signal does cross the trigger level again within the the
programmed pulsewidth time, a triggerevent will be detect-
ed.
Channel window trigger for entering signals
The analog input is continuously sampled with the selected
sample rate. The upper and the lower level define a win-
dow. Every time the signal enters the window from the out-
side, a triggerevent will be detected.
Register
Value
Direction
set to
Value
SPC_TRIG_CH0_MODE
40610
read/write
SPC_TM_POS | SPC_TM_PW_SMALLER
02000001h
SPC_TRIG_CH0_LEVEL0
42200
read/write
Set it to the desired trigger level relatively to the channel’s input range.
board dependant
SPC_TRIG_CH0_PULSEWIDTH
44101
read/write
Sets the pulsewidth in samples. Values from 2 to 65535 are allowed.
2 to 65535
Register
Value
Direction
set to
Value
SPC_TRIG_CH0_MODE
40610
read/write
SPC_TM_NEG | SPC_TM_PW_SMALLER
02000002h
SPC_TRIG_CH0_LEVEL0
42200
read/write
Set it to the desired trigger level relatively to the channel’s input range.
board dependant
SPC_TRIG_CH0_PULSEWIDTH
44101
read/write
Sets the pulsewidth in samples. Values from 2 to 65535 are allowed.
2 to 65535
Register
Value
Direction
set to
Value
SPC_TRIG_CH0_MODE
40610
read/write
SPC_TM_WINENTER
00000020h
SPC_TRIG_CH0_LEVEL0
42200
read/write
Set it to the upper trigger level relatively to the channel’s input range.
board dependant
SPC_TRIG_CH0_LEVEL1
42300
read/write
Set it to the lower trigger level relatively to the channel’s input range.
board dependant