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 »

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 »

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 »

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 »

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 »

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 »

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 »

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