Use of auto_stop mode.

Post your C and C++ discussions here
Post Reply
bikashrdas
User
User
Posts: 9
Joined: Fri Dec 19, 2008 8:26 am

Use of auto_stop mode.

Post by bikashrdas »

Hi all,
I am facing some problem in using auto stop option in fast streaming mode. Following is the sequence in which I am calling the driver APIs:

step 1: handle = ps3000_open_unit().

step 2: ps3000_set_channel(handle, 0, 1, 1, 3).

step 3: ps3000_set_ets(Handle, 0, 0, 0 ).

step 4: ps3000_set_trigger(Handle, 0, 0, 0, 0, 0).

step 5: ps3000_run_streaming_ns(Handle, 600, PS3000_US, MAX_SAMPLE, 1,1000, 18349)

step 6: ps3000_ready(Handle).

step 7: ps3000_get_streaming_last_values(Handle,
(GetOverviewBuffersMaxMin)DataCallBack)

Problem:
I am never getting auto_stop = 1 in my call back function. It is not getting MAX_SAMPLE no of samples also. I am setting MAX_SAMPLE to 40. But the apllication is reading only 10 or 12 samples.

But when I am disabling auto_stop I am getting the MAX_SAMPLE no of samples.

I need to enable auto_stop for my Application. So please help me.

PeterF
Advanced User
Advanced User
Posts: 435
Joined: Thu Jun 07, 2007 10:53 am
Location: Cambridgeshire

Post by PeterF »

Hi,
We are closed for Christmas until the 5th January so it is difficult to help with this. Could you please send an email to :- support@picotech.com which will be dealt with as soon as we return.
Regards,
PeterF.

Post Reply