Test and Measurement Forum

Pico 4K - streaming mode overflow flag

Post your .Net discussions here

Pico 4K - streaming mode overflow flag

Postby meereck » Fri Oct 03, 2014 11:20 am

Hello,
is there any flag in the API of dropped data when PC or USB is not fast enough to transfer streaming samples from the scope?
It seems there is no flag for ps4000GetStreamingLatestValues or ps4000StreamingReady callback.

Best regards
meereck
Newbie
 
Posts: 0
Joined: Mon Jul 28, 2014 9:57 am

Re: Pico 4K - streaming mode overflow flag

Postby Martyn » Tue Oct 07, 2014 10:42 am

You should find the following value in the data stream if the PC and USB can't keep up with streaming

#define PS4000A_LOST_DATA -32768
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Pico 4K - streaming mode overflow flag

Postby meereck » Thu Oct 09, 2014 1:58 pm

Thanks.
When more channels are used at a time, will this value be present in each channel buffer on the same sample index?
meereck
Newbie
 
Posts: 0
Joined: Mon Jul 28, 2014 9:57 am

Re: Pico 4K - streaming mode overflow flag

Postby Martyn » Thu Oct 09, 2014 2:56 pm

From memory this value will be placed in for all samples that are missing. The device will tell the driver how many this will be, and the driver adds them in.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 0 guests