Test and Measurement Forum

Min. timing gap between stream run and get

Post any questions you may have about our current range of oscilloscopes

Min. timing gap between stream run and get

Postby 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?
bittware
Newbie
 
Posts: 1
Joined: Thu Jan 08, 2015 2:31 pm

Re: Min. timing gap between stream run and get

Postby 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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2344
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to USB PC Oscilloscopes

Who is online

Users browsing this forum: No registered users and 0 guests