MMU LabVIEW Proficiency Group

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart vs. Waveform Graph

Hi,

May I know what is the difference between Waveform Chart and Waveform Graph?

I try to connect the waveform graph with a simple DBL input and it can't works, but it works in the waveform chart, so how should the connection looks like in waveform graph?

0 Kudos
Message 1 of 6
(20,268 Views)

Hi,

A graph basically displays single or multiple existing data all at once with evenly distributed points.

Be it from an array or a log file data.

So, u may have an array of a recorded temperature data and u plot it at one time on the graph, similar to the X_Y cartesian graph.

Whereas, for chart, it display single or multiple data that is acquired and update at a constant rate.

For instance, measuring a temperature in real time and plotting in on the chart.

So referring to your question, you are wiring a double integer input into a graph. this could not work because the graph only accept input of 1d array,

such that the output will be a plot of an array of data on the graph.

Why it works for the chart?

It is because chart accepts a single data or an array of data, and it plot the current input as it executes.

Thus, you will need a predefined or an existing array of double value data in order to plot on a graph.

0 Kudos
Message 2 of 6
(11,231 Views)

Hi,

Thanks for your reply.

So I have to use the chart to display a real time data at a constant rate.

Is that possible to show 2 signal (or plot) in 1 single waveform chart?

0 Kudos
Message 3 of 6
(11,231 Views)

Yes and it is possible to plot single or multiple signal in a single waveform chart.

0 Kudos
Message 4 of 6
(11,231 Views)

thx Kelvin, I get it done by using array to cluster.

now I have another question, how do we update a set of array inside a while loop? I try to link the array to the output of "build array" but it shows mismatch.

0 Kudos
Message 5 of 6
(11,231 Views)

Hi Jeffry, if you want to update the array inside the while loop as it executes, u may use a shift register or a variable depending on what value you are updating. Do you mean you are wiring an array constant to the input terminal of the build array vi?

0 Kudos
Message 6 of 6
(11,231 Views)