Min. timing gap between stream run and get

Post any questions you may have about our current range of oscilloscopes
Post Reply
bittware
Newbie
Posts: 1
Joined: Thu Jan 08, 2015 2:31 pm

Min. timing gap between stream run and get

Post by bittware » Sat Oct 10, 2015 9:27 am

Hi,
I was running 2206A in streaming mode.
I found if "ps2000aGetStreamingLatestValues" is called right after "ps2000aRunStreaming" without intentional delay then the callback function registered within "ps2000aGetStreamingLatestValues" would not be armed with valid number of samples. It seems the callback function did not get the chance to be called. I doubt this might be caused by setting autoTrigger_ms of 1ms. Am I right?
A more general question is when or based on what factors does the driver decide to invoke the callback function?

Martyn
Site Admin
Site Admin
Posts: 3376
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Min. timing gap between stream run and get

Post by Martyn » Mon Oct 12, 2015 2:36 pm

It is sensible to have a delay between starting streaming, and first asking for data, to allow the driver time to start the scope, and then receive some data back from the device.
Martyn
Technical Support Manager

Post Reply