Test and Measurement Forum

overflow in get_times_and_values

Post your C and C++ discussions here

overflow in get_times_and_values

Postby jma » Fri Oct 10, 2008 6:41 am

Hi,
Just a quick question, if overflow is set for a channel can I safely assume that data read from another channel (that does not have the overlow set) is valid or does the overflow for one channel corrupt the data for all the channels?

Edit: I am using PS3026

BR,
JMa
jma
Active User
Active User
 
Posts: 7
Joined: Mon Oct 06, 2008 5:43 am

Postby ziko » Fri Oct 17, 2008 10:58 am

Hi jma,

I forwarded your query to the software engineer and he said that the overflow on one channel does not effect the samples on any other channel.

Hope this helps.

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Postby Erik » Thu Oct 23, 2008 7:15 am

I believe the overflow flags are actually overrange flags. They indicate that the voltage measured on that channel will be clipped at the min and max values specified in the driver.

The data will not be corrupted other than the clipping.
Erik
PICO STAFF
PICO STAFF
 
Posts: 52
Joined: Mon Oct 23, 2006 8:16 am
Location: Cambridgeshire, UK

Re: overflow in get_times_and_values

Postby fernandoluiz » Mon Jan 10, 2011 6:59 pm

i have a lot of problems with the overflow in get_times_and_values

in my case when i'm using a number of samples very high but smaller than max samples occurs overflow in get_times_and_values when i used the call run_triggered().

i'm using ps3205.
fernandoluiz
Newbie
 
Posts: 0
Joined: Wed Dec 15, 2010 6:13 pm

Re: overflow in get_times_and_values

Postby Chris » Mon Jan 17, 2011 1:50 pm

What data rate are you setting?

Are you using both channels?
Chris
Site Admin
Site Admin
 
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: overflow in get_times_and_values

Postby fernandoluiz » Thu Jan 20, 2011 5:43 pm

the data rate are 100M/S

and i am using only one channel
fernandoluiz
Newbie
 
Posts: 0
Joined: Wed Dec 15, 2010 6:13 pm

Re: overflow in get_times_and_values

Postby Chris » Fri Jan 21, 2011 2:19 pm

Try running the PS3000 console example in the SDK.
This uses 0 as the value for timebase in runblock, to set the maximum sample rate, has 1 as the oversample value so it doesn't do any oversampling, which reduces the max sample rate.

-Chris.
Chris
Site Admin
Site Admin
 
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests