Hi fellow LV users,
I found a little bug in some Lecroy scope LV driver found there :
Version 3.3 at the moment.
I can't find how to report it so I am doing it here.
The bug is due to the fact that these instruments (I am working with an HDO6104) work by digitizing all four channels sequentially. Hence the samples of all channels are not aligned in time.
However the driver as it's made does not take care of that. When waveforms are requested, they are all aligned starting at a blank t0.
You can easily reproduce the bug by digitizing the same 100 MHz sine on all channels: you'll obtain 4 waveforms not in phase because the different t0 are not included in the waveforms.
The fix is really easy because the information is readily available however it just wasn't wired to the t0 terminal of the build waveform...
Open "Fetch Waveform.vi"
- remove the blank timestamp wired to the t0 terminal.
- wire the "horizontal offset" output of "Get Descriptor.vi" through a "To Timestamp" to the t0 terminal of the build waveform block.
Then make sure your subsequent code care about that t0 value...
Bugged:
Fixed:
Regards,
Baptiste