LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 5.0

Hello!

I'm not really new to Labview, but still practicing. At school we use Labview 7.0. Now, I'm working in an electronic company, and I am to measure ultrasonic vibration of a device. I was provided with a DAQ and a Labview 5.0, they said the DAQ is only capable of using only version 5.0. A program was shared to me by a friend, a Spectrum Analyzer VI created using version 7.0.  I'm trying to reconstruct the shared Spectrum Analyzer, but it is very difficult since there are Vis that are not available in 5.0 such as FFT Power spectrum (waveform measurement) and Waveform Generation functions. Are there an add ons or downloads of where I can find these VIs and functions? I was also hoping that someone could work on this conversion in this forum since I'm running out of time. This is still a very difficult program for me because I'm sill learning. Please help me on his.. Thanks!

Can somebody convert this attached file Spectrumanalyzer.vi of Labview 7.0 to 5.0??
Download All
0 Kudos
Message 1 of 12
(4,082 Views)
Converting these back to LabVIEW 5.0 Ithink requires that you got through 6.1 and possibly also 6i
Not many people have that installed. (I am currently in a hotel in China with nothing to do but wait to go home and these aren't on the portable I have).

If you don't get a conversion try searching the developer zone.

Here's a start
http://zone.ni.com/devzone/cda/epd/p/id/2712

I think also you could try searching through the examples for the Benchtop Spectrum Analyser VI.
0 Kudos
Message 2 of 12
(4,058 Views)
jayberns,

Thank you for starting a new thread.

I do not have LV 5 on my home computer, although I do have it at work. I know that LV5 has the standard FFT routines because I have a program written in LV which uses them. There are also functions to generate a variety of waveforms (in the array datatype - I do not think the waveform datatype was in LV5). You can certainly put together what you need; it may be a bit more involved and less convenient.

I looked briefly at the program you posted. It does not contain anything exotic. The power spectrum VI basically manipulates the FFT to get a power spectrum. Squaring and normalizing, mostly. You can look up the formulas to get power spectrum from FFT in a signal processing book.

Can you be specific about exactly what you need? If you do not need all the features of the Spectrum Analyzer VI, it may simplify your task. For example it does linear or exponential averaging in two different modes. If you do not need some of the combinations or do not need the averaging at all, this will simplify the code you need to write.

My LV5 program which uses FFT calculates the time varying spectrum of a biological signal and triggers an output when the signal in one frequency band exceeds the total in two other bands for a specified amount of time. Other than the FFT, I put together all the rest of the signal processing from simple LV functions.

Lynn
0 Kudos
Message 3 of 12
(4,046 Views)
I am really having problem on a FFT power spectrum vi. I want my program to look exactly as what I've uploaded here because i find it more reliable in my study. I'm also having problem on the waveform generation because as we all know its not found in LV 5 and  I tried to make my own waveform generation, it does not function as I expected. i wish someone could transform me a  FFT power spectrum vi from LV 7  which could run in LV 5.
0 Kudos
Message 4 of 12
(4,008 Views)

Hi Jayberns,

If you (or somebody else) could use 7.0 to back-save to 6.1, then from 6.1, I could back-save to 5.0 for you.

But do you really want to?  The back-saved code can break with each back-save - sometimes it's not possible to implement logic from a later-version in an earlier syntax, and even if it is possible, the conversion can be "messy" and hard to understand.  And, you need to back-save four times!  7.0 to 6.1 to 6.0 to 5.1 to 5.0.  Don't expect this code to work unless the logic is very simple.

I haven't looked at your code, but based on Lynn's comments, you might consider printing the 7.0 block-diagram, then just copy it manually.  I've had to do this a few times because I'm missing 7.0, but needed to go from 7.1 to 6.1.

Bon-chance/Cheers!



Message Edited by tbd on 01-16-2008 01:57 AM
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 5 of 12
(3,998 Views)
Hi Jayberns,
      Small correction!  It looks like 6.0 back-saves to 5.0 - so only three back-saves are needed.  That's still a risk to your code ( but not as bad as I made it sound. Smiley Wink )
 
Cheers.
 
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 6 of 12
(3,994 Views)

ok thanks..  I will try to find 6.0 ryt away, if its available. But can somebody do the pleasure of doing this program conversion? Its not really a big program but I'm having a problem on FFT Power Spectrum, I want it to function the way it is because I'm really basing my study on this program because I find it more reliable, and my time is running out.. thanks anyway..

0 Kudos
Message 7 of 12
(3,972 Views)

My memory is that 6.0 only saved to 5.1 but is has been a long time since I used it. I know that 5.1 was the first version that had the ability to save to a previous version (to 5.0).

jaybearns,

Even if someone here has all of the necessary versions, you cannot do a backward save to such an old version. There are functions in the 7.0 VI that simply did not exist and a save as will not work. All of the code related to the attributes nodes, front panel reference, and waveform data type will have to be removed and that is an awful lot to ask of someone here. I know for a fact that LabVIEW 5 had low level functions for power spectrum measurements. Many of these are at the heart of the 7.0 functions. They've been given wrappers to make them a bit easier to use. You might want to look at the 5.0 shipping examples.

I also don't understand your comment about waveform generation. I didn't see any waveform generation functions in the VI you posted.

0 Kudos
Message 8 of 12
(3,968 Views)
Can somebody do the program conversion, with an fft power spectrum vi created again using 5.0?
0 Kudos
Message 9 of 12
(3,967 Views)
ok thanks.. wish some one could do this program using 5.0..
0 Kudos
Message 10 of 12
(3,964 Views)