Labview software for scopes and ARB Generators - Page 1
Forum section: electronics / testgear

author: acocconi
author_rank: Newbie
timestamp: July 04, 2014, 12:40:22 am
content: I am sharing some programs I wrote for RS 232 serial decode and ARB signal generation.These programs are written In Labview 7.0, and will likely work with later versions as well.They are for the Rigol DS1000Z-S series scopes and the Lecroy 900 series. There is also output to the DG1000Z ARB generator, supporting large (MB) waveforms. Ultra Sigma needs to be installed for the Rigol instruments.I have been using the Beiming F82357 USB to 488 adapter (V1.11 firmware) with the LeCroy.The source code can easily be modified for other instruments.Install the Lecroy drivers first, or delete the sections of the programs that use them if only using the Rigol scope.I wrote these for my own use as I needed the PWM demod and RS232 decode functions. Please continue to share modified versions derived from this work.https://www.dropbox.com/s/obozvpohqvsmvr0/Cocconi%20scope%20programs.zipAlan Cocconi

author: AlfBaz
author_rank: Super Contributor
timestamp: July 04, 2014, 01:13:53 am
content: Thanks AlanI'm a labview novice and coincidently I'm currently trying to extract an array of data points from an LC574 scope over GPIB and send it to a Wavetek 395 over RS232.Thus far I have been able to extract the data from a saved waveform and send it to the wavetek but there were a few hurdles. The most significant being configuring the RS232 resource to be able to send a block of binary data (GPIB's definte block length format) without it stopping short when it encounters a terminating character.One thought that crossed my mind as I was doing this was that it would be good to write some C code and simply call it from labview. At a glance is that what you are doing?Is lcwpxxx.dll written by you and the techniques shown in your vi's is how you call various funcs within the dll?It's good news if it is as describing some things in C would be less time consuming than coming to grips with every labview programming paradigm

author: acocconi
author_rank: Newbie
timestamp: July 04, 2014, 02:20:40 am
content: The lcwpxxx.dll is part of the Wavepro 900 labview driver set that I downloaded from the LeCroy website. It is used by the VIs installed by lcwpxxx.exe, which I included in the .zip file. I have not accessed this .dll directly.Alan Cocconi

author: AlfBaz
author_rank: Super Contributor
timestamp: July 04, 2014, 03:18:51 am
content: Quote from: acocconi on July 04, 2014, 02:20:40 amOK.I opened, at random, one of the LLB's and again with just a random vi and saw what looked like a property node that seemed to pass parameters to a function within the dllI'll have a closer look at your vi's later on, they certainly look interesting

author: acocconi
author_rank: Newbie
timestamp: July 04, 2014, 10:03:13 am
content: I just realized that the standard "simple error handler" vi in Labview must be modified to have "no dialog" as default, or the programs will hang from the errors generated when the waveforms are null.I apologize for the sloppy release.Alan Cocconi

author: acocconi
author_rank: Newbie
timestamp: July 08, 2014, 07:29:52 pm
content: I have made an installer and executables of the Rigol and LeCroy scope and ARB programs for those that do not have Labview.Here is the link:https://www.dropbox.com/s/rq4sfxef5i7gztd/A%20Cocconi%20Rigol%20%26%20LeCroy%20exe%20w%20installer.zip