I am trying to use external triggering in block mode, but I doesn't seem to work. It works perfectly with streaming mode though.
I am using block mode, when the total time of capture is provided by user. The sample interval is then calculated as
SampleInterval = CaptureDuration / BUFFER_SIZE;
I am facing problems only when using block mode this way but not streaming mode.
When trying to use EXT channel in this situation, the trigger conditions do not seem to be met and scope does not capture data that I expect, even though RunBlock() returns OK. I am using the scope with rising edge triggering and 2V trigger voltage. The trigger pulse generated is 0-5V pulse.
As per the programming guide in TriggerChannelProperties() and TriggerConditions(), EXT & AUX are not used.
Are there any settings that may need to be added in TriggerChannelProperties() or TriggerConditions() or any other api that I am unaware of? Is there a need to "enable" the EXT channel? If yes, how?