RapidBlock mode and ps4000stop

Post your LabVIEW discussions here
Post Reply
Posts: 0
Joined: Wed Aug 12, 2015 6:36 am

RapidBlock mode and ps4000stop

Post by aknopf » Wed Aug 12, 2015 7:10 am


i work with the picoscope 4424 and use the ps4000.dll.
I have a problem with the rapidblock mode. I can not stopped the picoscope befor it is ready.
After the ps4000RunBlock is a while loop that stopped, if the picoscope is ready. Now i read in the topic topic13687.html#p39711 that i have to use the ps4000stop to stop the picoscope and then i read out all valid data.
But in my application (VI) i get the message PICO_NO_SAMPLES_AVAILABLE. I upload my VI.
Where is the mistake in my VI?

(50.9 KiB) Downloaded 239 times

Posts: 245
Joined: Tue Oct 21, 2014 3:07 pm

Re: RapidBlock mode and ps4000stop

Post by AndrewA » Wed Aug 12, 2015 11:00 am

In rapid block mode you cannot tell how many segments the scope has captured until the scope is stopped.
If you stop the scope before the scope has finished, you cannot read out any of the captured data.
This has been changed in the newer PS4000a.dll driver by using the ps4000aGetNoOfProcessedCaptures function, so you can do this. (4824 is the only scope that uses the PS4000a.dll)
This feature maybe added to the older drivers, in the future.
Regards Andrew
Technical Specialist

Post Reply