LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D String Array to Graph

I get from a database select a 2d string array. The first element is a
timestamp (datetime in mssql) like "mm.dd.yyyy hh:mm:ss". The second
value is an integer value as a string. I whant to select all entries
from one day and the values should be displayed in a graph. The datetime
should be shown as time on x-axis and the value sould be shown as
amplitude.

has anybody allready did such a vi or could give me a link or a
suggestion.

thanx,
Max
0 Kudos
Message 1 of 2
(2,929 Views)
Max,

You should find an attached VI to help you out. Use the scan from string function to convert your strings to a series of decimal values. Use the "Date/Time to Seconds" function and "Bundle by name" to format your integers to a time control value. The For Loop in the example will parse one row of the 2D array with each pass.

Good luck,

Jason Swoboda
Jason.Swoboda@omniatechnology.com
0 Kudos
Message 2 of 2
(2,929 Views)