Block Mode Setup Time

Post your LabVIEW discussions here
Post Reply
Armin_T.
Newbie
Posts: 0
Joined: Wed Nov 24, 2010 11:24 am

Block Mode Setup Time

Post by Armin_T. »

Hello,

I'am using PicoScope 4224 with LabView 2010 on a notebook and have a question about the Setup Time, whitch takes according to the Programmers's Guide up to 50ms, before collecting each block of data. Is it possible to avoid these 50ms between collecting samples? I have an application that needs to collect data every 3ms and I can not use rapid block mode for my application.

If this setup time can not be avoided with PS4224, is there any other scope that could collect data every 3ms or faster in block mode?

Thanks for your help.
Regards,
Armin

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

Re: Block Mode Setup Time

Post by Chris »

This time is PC dependant, and will also vary depending on what else the PC is doing, hence the guide states up to 50mS.

The time can be reduced by setting the DataBuffer prior to calling RunBlock.

Using Rapid Block mode will enable multiple captures, for each data retrieval, so reducing the retrieval overhead time.

Armin_T.
Newbie
Posts: 0
Joined: Wed Nov 24, 2010 11:24 am

Re: Block Mode Setup Time

Post by Armin_T. »

Could you explain "setting DataBuffer prior to calling RunBlock" ?
Is this the execution priority, adjustable in the VI properties?
Thanks for your help. :)

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

Re: Block Mode Setup Time

Post by Chris »

In the ps4000pg.en.pdf programmers guide, section 4.6.1.1 (Using block mode) shows 'Use ps4000SetDataBuffer' as step 7, after ps4000RunBlock is called, and ps4000BlockReady callback function has indicated that data is ready.

If you loop back to the ps4000RunBlock call, you will call ps4000SetDataBuffer again.

If you put this ps4000SetDataBuffer call before the ps4000RunBlock call, you take it out of the loop, and only call it once.

Post Reply