LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add limits to my waveform graph

Hi everyone,

 

I'm working on a VI that displays the frequency response of a speaker in dB SPL vs freq. I have the specs given with the upper and lower limits.

 

The output of my power spectrum is connected to a waveform graph. The waveform graph shows the power spectrum, but i want to also display the upper and lower limits within that same graph.  Basically the limits are a set of points, x and y. In my VI, to make these points I've made an array.After making an array, I've bundled them to display on one graph.

 

However, there's an error since I've connected two terminals of different types

How can i successfullu bundle the two and display it in one graph.

 

 

Capture.JPG

 

 

 

0 Kudos
Message 1 of 5
(3,627 Views)

A Waveform Graph does not accept a X-Y pairing of arrays.  The is what the XY Graph is for.

 

What you need to do is create a waveform from your limits.  A waveform includes a start time (X0) and a change in X (delta X).

 

The graph can then accept an array of waveforms to plot.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(3,601 Views)

To add to Crossrulz comment, have a look at the Limit Testing.vi and Limit Specification.vi from Waveform -> Analog Waveform -> Waveform Measurement -> Waveform Monitoring palette.

 

Ben64

0 Kudos
Message 3 of 5
(3,597 Views)

Where can I find the VI to crette a waveform from my limits.  A waveform includes a start time (X0) and a change in X (delta X).

Can you tell me what particular VI is used?

 

 

0 Kudos
Message 4 of 5
(3,573 Views)
The Build Waveform function.
0 Kudos
Message 5 of 5
(3,560 Views)