I just tried some code, but I still can't figure out how to make it work as I want.
Could you give me some details about how to set these variables to make it work. I am using the C# example code of PS3000asdk_r10_5_0_28, and I tried to modified the variables in CollectStreamingTriggered() and StreamDataHandler() functions.
Actually, I am confused about how does preTriggerSamples and postTriggerSamples work in Streaming mode, as well as trigger itself, since I saw it collecting data all the time even it not been triggered. I can see the trigger flag is set, but only once, how can I make it can be re-armed during the streaming.
Thank you very much.
Martyn wrote:You should be able to do this by using MaxPreTriggerSamples, MaxPostTriggerSamples and autoStop when calling ps3000aRunStreaming