Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

LeCroy Wave Series - LabVIEW driver bug

$
0
0

Hi fellow LV users,

 

I found a little bug in some Lecroy scope LV driver found there : 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=07C0AC709BD14C10E0440003BA7CCD71

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:

Bugged.png

 

Fixed:

Fixed.png

 

Regards,

 

Baptiste

 

 

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>