LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph

I have to store a temperature-sequence to a database and display the
temperature of one day in a graph. My sql table has just a timestamp
(datetime) and the temperaturevalue. I can select all values of one day
and display them in a table but can't get them into a xy-graph.
does anybody know how to solve this or can show me a example.

thanx,
max
0 Kudos
Message 1 of 2
(2,764 Views)
If you have the data in a table all you need is to split the table into the X and Y parts (using the index array function) and then, if needed, convert the value to a numeric (the timestamp might e.g. need to be converted from a text string to number of seconds since...(?)). Now with one array of X values and one with Y values bundle the two arrays (X first, Y next) and feed it to the XY graph.
0 Kudos
Message 2 of 2
(2,764 Views)