ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help graph

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.

Download All
0 Kudos
Message 1 of 3
(2,748 Views)

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.

0 Kudos
Message 2 of 3
(2,733 Views)
Stop spamming the board with the same question and the same incomplete image. You will just get people mad.
0 Kudos
Message 3 of 3
(2,732 Views)