LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert peak detect.vi from ver6i to ver5.0?

Hi

I want to capture a peak voltage using ver5.0 but the peak detect.vi in ver6i does not work in ver5.0, what can I do? Can I replace the peak detect.vi with peak detector.vi in ver5.0?
Is there any other solution to my problem?

Thanks in advance.
Mary
0 Kudos
Message 1 of 5
(2,731 Views)
Mary,

I was able to locate the Peak Detector VI in LabVIEW 5.0. It is in the Functions palette on the Block Diagram under Analysis >> Measurement >> Peak Detector.vi. This VI is also available in version 6i (Analyze >> Signal Processing >> Time Domain >> Peak Detector.vi). The Threshold Peak Detector VI is also available in both versions (in the same respective palettes as Peak Detector). One of these two VIs should be appropriate for doing peak detection on your data. Use the Context Help window (accessed by pressing Ctrl-H if it is not already up) to learn more about these functions.

Ross C
National Instruments
0 Kudos
Message 2 of 5
(2,731 Views)
Hi Ross,

Yap, I understand that there is a peak detector.vi in LabVIEW 5.0, but the peak detect.vi in LabVIEW 6i (with a peak detector.vi as sub. vi) is not supported in LabVIEW 5.0. What can I do?
Is there other method to replace the peak detect.vi for LabVIEW 5.0?
I will like to cpature the peak voltage and set a threshold. How can I make use of the peak detector.vi to perform this?

Thank you.
Mary
0 Kudos
Message 3 of 5
(2,731 Views)
Mary,

Here is a small piece of example code showing to get the peak voltage out of a set of data. You can set a threshold by connecting a control or constant to the "threshold" input of the Peak Detector.VI.

Ross C
National Instruments
0 Kudos
Message 4 of 5
(2,731 Views)
Thank you
0 Kudos
Message 5 of 5
(2,731 Views)