LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What graph/chart to use

Hi,

I'm using LV5.1 to create a chart or graph that is showing a value that is a function of time versus a value that is a function of a signal from an instrument...

To make the x-value a function of time, I have two 'seconds from January 1, 1904' functions, one outside a while loop, and the other inside the while loop, with the while loop controlled by the user, so that the time is the difference between the two (the current time, and the time when the user started the program.

Anyway, I'm running into trouble trying create this graph... if I try to use an XY graph, I can't see the graph as the experiment runs... hopefully there's a simple solution to my problem, and I just didn't give it enough effort! 🙂

Any help
will be greatly appreciated,

Thanks,
Karinne.
0 Kudos
Message 1 of 2
(2,610 Views)
An XY graph must have, as its input, two arrays which are bundled together using the cluster "bundle" function. The Y array is then plotted as a function of the X array. You will need to create X and Y arrays of the data and append your newest data points to the end of thier respective array before sending the arrays to the graph.

-Jim
Message 2 of 2
(2,610 Views)