Test and Measurement Forum

RapidBlock mode and ps4000stop

Post your LabVIEW discussions here

RapidBlock mode and ps4000stop

Postby aknopf » Wed Aug 12, 2015 7:10 am

Hi,

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?

Thanks
Attachments
PicoScope_Test.vi
(50.9 KiB) Downloaded 45 times
aknopf
Newbie
 
Posts: 0
Joined: Wed Aug 12, 2015 6:36 am

Re: RapidBlock mode and ps4000stop

Postby 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
AndrewA
Zen Master
Zen Master
 
Posts: 178
Joined: Tue Oct 21, 2014 3:07 pm


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests