08-27-2013 09:05 AM
Hello to all.
I have to create a graph from a table with three columns. The graph should have the elements of the first two columns (unified ) on the x axis and those of the third column on the y axis.
Can you tell me first how to unify the first two columns and then how to put everything in a chart?
Thank you very much.
I attach the image on the part of my program in question.
08-27-2013 09:20 AM
First, you need to write a VI that converts the date and time strings to a single time stamp.
Parse the strings and get number of years, days, months, hours, and minutes - look at the String/Number conversion palette for this.
Convert to a timestamp by using "Date/Time to Seconds".
Once you can do that, you should be able to operate in a FOR loop to convert every row (an array of 3 strings) to an XY data point (timestamp and data value in a cluster).
The output of the FOR loop can be displayed in an XY graph.
08-27-2013 09:20 AM