Search found 6 matches

by csaether
Tue May 11, 2010 5:08 pm
Forum: C and C++
Topic: Returned value is maximum negative value -32768
Replies: 3
Views: 6292

Re: Returned value is maximum negative value -32768

Thanks. The PC is one which is only operating at USB 1 speeds, which seems to be the problem. Using one running USB 2 it will go at least a couple of times faster without problem.
by csaether
Tue May 11, 2010 1:42 am
Forum: C and C++
Topic: Returned value is maximum negative value -32768
Replies: 3
Views: 6292

Re: Returned value is maximum negative value -32768

The status value of ps3000_get_streaming_last_values is success, as it ps3000_overview_buffer_status in the call where bogus (minus 32768) values are returned.
by csaether
Mon May 10, 2010 11:30 pm
Forum: C and C++
Topic: Returned value is maximum negative value -32768
Replies: 3
Views: 6292

Returned value is maximum negative value -32768

I'm using fast streaming mode for a 3224 on an XP system. I am not using triggering or autostop, as it wants to run continuously and analyze the data stream in nearly real time. Aggregation is set to 2, on the idea that you're returning a min and max anyway, so might as well use both of them. With a...
by csaether
Wed Nov 25, 2009 4:00 pm
Forum: C and C++
Topic: fast streaming max_samples, overview buffers clarification
Replies: 4
Views: 5840

Re: fast streaming max_samples, overview buffers clarification

Thanks. Makes sense. Sorry about the dumb overflow flag question.

Having fun messing with this. Very cool device.
by csaether
Wed Nov 25, 2009 3:41 pm
Forum: C and C++
Topic: fast streaming max_samples, overview buffers clarification
Replies: 4
Views: 5840

Re: fast streaming max_samples, overview buffers clarification

So is the driver asynchronously copying data from the max_samples to the overview_buffers before it wraps? Or should max_samples always be at least as big as overview_buffers so the data is always valid? When I run with max_samples at, say, 200, and get more than 200 back in overview_buffers, the ov...
by csaether
Wed Nov 25, 2009 12:12 am
Forum: C and C++
Topic: fast streaming max_samples, overview buffers clarification
Replies: 4
Views: 5840

fast streaming max_samples, overview buffers clarification

The max_samples value will cause the driver to allocate non-paged memory and is the circular buffer used to buffer samples between calls to ps3000_get_streaming_last_values, right? The overview buffer is paged process memory, right? The amount of memory allocated depends on which channels are enable...