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.
Post your LabVIEW discussions here
2 posts • Page 1 of 1