Bug in LabVIEW PS4000a library

Post your LabVIEW discussions here
Post Reply
Posts: 0
Joined: Tue Apr 14, 2015 9:56 am

Bug in LabVIEW PS4000a library

Post by dabbede » Tue Apr 14, 2015 12:44 pm

Dear Picotech support staff,

I've found a bug in the LabVIEW library ps4000a, in particular for what concerns the PicoScope 4824.
I've followed the PicoScope4000aExampleBlock.vi (acquisition on channels A and B), and I've expanded it to acquire 8 channels simultaneously (channels A to H).

When I get the block of data (with the function PicoScope4000aGetBlock.vi), it happens that the buffers of channels E and H are exchanged. The same for buffers F and G. The rest seems fine. I don't think the error comes from the function itself, but rather from the ps4000a.dll or from the wrapper ps4000aWrap.dll.

In attachment, I put two bare minimal examples: "test4824.vi" and "test4824_bug_fix.vi".
The bug fix is a simple buffer swapping. I think the same should be implemented in the next release of the library PicoScope4000aExampleBlock.vi or in the dlls.

Best regards,

(59.82 KiB) Downloaded 141 times

Site Admin
Site Admin
Posts: 3637
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Bug in LabVIEW PS4000a library

Post by Martyn » Tue Apr 21, 2015 8:38 am

Thank you for this, we will pass this information onto the Labview Examples team.
Technical Support Manager

Post Reply