Author Topic: Labview software for scopes and ARB Generators  (Read 3339 times)

0 Members and 1 Guest are viewing this topic.

Offline acocconiTopic starter

  • Newbie
  • Posts: 4
Labview software for scopes and ARB Generators
« on: July 04, 2014, 12:40:22 am »
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.zip
Alan Cocconi
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2187
  • Country: au
Re: Labview software for scopes and ARB Generators
« Reply #1 on: July 04, 2014, 01:13:53 am »
Thanks Alan

I'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
« Last Edit: July 04, 2014, 01:15:30 am by AlfBaz »
 

Offline acocconiTopic starter

  • Newbie
  • Posts: 4
Re: Labview software for scopes and ARB Generators
« Reply #2 on: July 04, 2014, 02:20:40 am »
 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
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2187
  • Country: au
Re: Labview software for scopes and ARB Generators
« Reply #3 on: July 04, 2014, 03:18:51 am »
I have not accessed this .dll directly.
OK.
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 dll

I'll have a closer look at your vi's later on, they certainly look interesting
 

Offline acocconiTopic starter

  • Newbie
  • Posts: 4
Re: Labview software for scopes and ARB Generators
« Reply #4 on: July 04, 2014, 10:03:13 am »
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

 

Offline acocconiTopic starter

  • Newbie
  • Posts: 4
Re: Labview software for scopes and ARB Generators
« Reply #5 on: July 08, 2014, 07:29:52 pm »
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
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf