Quote:
Originally Posted by RyanShoff
changing
Code:
m_count->SetUpSource(m_trig, AnalogTriggerOutput::kRisingPulse);
to
Code:
m_count->SetUpSource(m_trig, AnalogTriggerOutput::kState);
gets the counter moving. Of course that doesn't make it functional.
I think AnalogTriggerOutput::kRisingPulse is implemented in the FPGA which I can't see inside.
|
The rising / falling pulse only indicates a transition from one sample to the next that entirely leaps over the window. Given how large you set the window and the impedance of the sensor it is unlikely that the signal is fast enough to make that leap. This is likely the reason you are seeing 0 all the time. It otherwise appears that you have it configured correctly. You can also try lowering the sampling rate to affect how quickly the signal changes from one sample to the next. Be aware the sample rate will affect every channel on that module.