Channel Trigger | Trigger modes and appendant registers |
|
|
Channel window trigger for short inner signals
The analog input is continuously sampled with the selected sample rate. The upper and the lower levels define a win- dow. Every time the signal enters the window from the out- side, the pulsewidth counter is startet. If the pulsewidth counter stops and the signal is still inside the window, no trigger will be detected.
If the signal leaves the window before the pulsewidth coun- ter has stopped, the triggerevent will be detected.
Register | Value | Direction | set to | Value |
SPC_TRIGGERMODE | 40000 | r/w | TM_CHANNEL | 20040 |
SPC_TRIGGERMODE0 | 40200 | r/w | TM_CHXWINENTER_SP | 10042 |
|
|
|
|
|
SPC_HIGHLEVEL0 | 42000 | r/w | Sets the window’s upper level relatively to the channel’s input range. | board dependant |
|
|
|
|
|
SPC_LOWLEVEL0 | 42100 | r/w | Sets the window’s lower level relatively to the channel’s input range. | board dependant |
SPC_PULSEWIDTH | 44000 | r/w | Set to the desired pulsewidth in samples. | 2 to 255 |
Channel window trigger for short outer signals
The analogd input is continuously sampled with the selected sample rate. The upper and the lower levels define a win- dow. Every time the signal leaves the window from the in- side, the pulsewidth counter is startet. If the pulsewidth counter stops and the signal is still outside the window, no trigger will be detected.
If the signal enters the window before the pulsewidth coun- ter has stopped, the triggerevent will be detected.
Register | Value | Direction | set to | Value |
SPC_TRIGGERMODE | 40000 | r/w | TM_CHANNEL | 20040 |
SPC_TRIGGERMODE0 | 40200 | r/w | TM_CHXWINLEAVE_SP | 10052 |
|
|
|
|
|
SPC_HIGHLEVEL0 | 42000 | r/w | Sets the window’s upper level relatively to the channel’s input range. | board dependant |
SPC_LOWLEVEL0 | 42100 | r/w | Sets the window’s lower level relatively to the channel’s input range. | board dependant |
SPC_PULSEWIDTH | 44000 | r/w | Set to the desired pulsewidth in samples. | 2 to 255 |
76 | MC.31xx Manual |