overflow in get_times_and_values

Post your C and C++ discussions here
Post Reply
jma
User
User
Posts: 7
Joined: Mon Oct 06, 2008 5:43 am

overflow in get_times_and_values

Post by 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

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by 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

Erik
PICO STAFF
PICO STAFF
Posts: 53
Joined: Mon Oct 23, 2006 8:16 am
Location: Cambridgeshire, UK

Post by 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.

fernandoluiz
Newbie
Posts: 0
Joined: Wed Dec 15, 2010 6:13 pm

Re: overflow in get_times_and_values

Post by 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.

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

Post by Chris » Mon Jan 17, 2011 1:50 pm

What data rate are you setting?

Are you using both channels?

fernandoluiz
Newbie
Posts: 0
Joined: Wed Dec 15, 2010 6:13 pm

Re: overflow in get_times_and_values

Post by fernandoluiz » Thu Jan 20, 2011 5:43 pm

the data rate are 100M/S

and i am using only one channel

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

Post by 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.

Post Reply