Test and Measurement Forum

Bug in LabVIEW PS4000a library

Post your LabVIEW discussions here

Bug in LabVIEW PS4000a library

Postby 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 57 times
Posts: 0
Joined: Tue Apr 14, 2015 9:56 am

Re: Bug in LabVIEW PS4000a library

Postby Martyn » Tue Apr 21, 2015 8:38 am

Thank you for this, we will pass this information onto the Labview Examples team.
Technical Specialist
Site Admin
Site Admin
Posts: 2314
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 2 guests