Bug in LabVIEW PS4000a library

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

Bug in LabVIEW PS4000a library

Post by dabbede »

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,

Davide
Attachments
picoscope4000a_test.zip
(59.82 KiB) Downloaded 311 times

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

Re: Bug in LabVIEW PS4000a library

Post by Martyn »

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

Post Reply