LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying array data in a graph

Solved!
Go to solution

I have created a vi that filters the data according to the comparison number (see attached vi). I cannot however get the data from my filtered array to display on a graph, complete with the data/time from the array still present.

 

I have also attached the data file, if it helps, that I have been using to test my program.

 

Any help always appreciated.

 

Chaz

Download All
0 Kudos
Message 1 of 16
(4,249 Views)
Do you need to plot date and time on the graph?
Tim
GHSP
0 Kudos
Message 2 of 16
(4,229 Views)
Yes as it is needed as an accurate record.
0 Kudos
Message 3 of 16
(4,221 Views)

To do that you are going to have to take the date and time and convert them into a single field using the date and time vi's that NI provides. Then you will have to plot the data on an XY graph.

 

I attached the basic steps in your vi. You will have to break down the date and time string and reformat the date time number to get the format on the XY graph. 

Tim
GHSP
0 Kudos
Message 4 of 16
(4,210 Views)

I cannot open that 😞

 

Still have 8.5.... sorry forgot to post that

 

Chaz

0 Kudos
Message 5 of 16
(4,207 Views)
0 Kudos
Message 6 of 16
(4,204 Views)

My apolpgies if i am wrong....

 

but by looking at this, does this not show the un-filtered data on the XY graph? The filtered array output is on the right hand side of the original vi that i attached.

 

Thanks

 

Chaz

0 Kudos
Message 7 of 16
(4,198 Views)
I was just trying to show you the idea of what you need to do. You will have to take the example and make it work for the filtered data. Here is what I have so far
Tim
GHSP
0 Kudos
Message 8 of 16
(4,192 Views)
Solution
Accepted by topic author xXChazXx

Here is all of it.

 

I hope that this helps

Tim
GHSP
0 Kudos
Message 9 of 16
(4,172 Views)

Can you repost it in 8.5? as this one is in 8.6,

 

Thanks

 

Chaz

 

0 Kudos
Message 10 of 16
(4,170 Views)