LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Pains

Solved!
Go to solution
I took this code from an example.  I hooked up my two data sources and this is what I get.  What now?  The example does NOT use dynamic data sources.  Is this the issue? 
0 Kudos
Message 1 of 7
(4,492 Views)

 

What you have there is an example of how clusters and arrays differ.

 

A cluster (the output of the bundle) can be of mixed data types.

 

on the other hand an array can consist of multiple instances of a single data type.

 

So make the both the same data type and you can proceed.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(4,484 Views)

This is the easiest solution I could find.  I did not find a lot of info on changing the dynamic data to waveform or vice versa.  My problem now is the plot only shows the current point.  Do I need to store the data in an array before sending it to the build xy graph vi?  I want a load deflection plot starting at zero and going until the vi is stopped.  This vi is in a while loop with the channels that are aquireing the data.

 

Let me know if you need to see more to help.  Thanks.

0 Kudos
Message 3 of 7
(4,456 Views)
Yes you will need to save the data somehow an array would be the easiest method. Then send it to the XY graph. That is how you will get historical data.
Tim
GHSP
0 Kudos
Message 4 of 7
(4,452 Views)
You don't have anything wired to the Reset input of the Build XY Graph. The default is True. Change that if you want to retain old data.
Message 5 of 7
(4,441 Views)
Solution
Accepted by topic author Kyle.Kyle

Wow, should have caught that!

0 Kudos
Message 6 of 7
(4,434 Views)

You might want rethink selecting your response as the solution.

 

If you want to change it, click on 'Options'.

0 Kudos
Message 7 of 7
(4,428 Views)