11-23-2023 05:09 PM
I have created an interface where excel data is extracted and the data is interpolated within a while loop. I then output that interpolated data. I now want to store the interpolated data into an array to plot a XY graph.
How do I do this?
I have attached a section of the interface below
11-23-2023 06:46 PM
There is nothing attached.
11-24-2023 04:06 AM
should be attached now
11-24-2023 09:14 AM - edited 11-24-2023 09:20 AM
A picture of a tiny truncated section of code is not helpful at all!
Please attach your VI (or a simplified version of it). I assume there is probably an outer loop and you have arrays of x values somewhere. Are the x-values for the upper and lower interpolation the same or different?
11-25-2023 10:00 AM
I have attached a simple version below, the previous method you had stated did not seem to work.
What I am trying to do is plot a graph of each combination of throttle position and Thrust. Also I want it to plot multiple plots on a single graph as later versions of the interface have changing environmental conditions.
Thank you
11-25-2023 10:46 AM
Hi AJ,
you still didn't provide any code!
(We cannot edit/debug/run images in LabVIEW. Please attach real VI files!)
Why do you need to read the sam Excel file in a loop?
Why do you need 4 IndexArray nodes when one would be enough? (They are resizable!)
11-25-2023 10:55 AM
This the first time I have used LabVIEW and I don't know how everything works. I just constructed this VI from watching videos and reading posts. I have been constantly making changes to my VI to make them better. If you have any suggestions that make my VI better please let me know, it will be much appreciated?
I have attached my VI below
11-25-2023 11:04 AM
11-25-2023 11:12 AM
I have now saved it as 19.0 version which I think is for LV2019. Please Let me know if this is not correct
11-25-2023 11:36 AM - edited 11-25-2023 11:36 AM
Hi AJ,
thanks for conversion.
Suggestion:
You don't need additional indicators for gauges: enable/show their digital display!
Place a wait inside loops waiting for user actions…
Place constant code outside of loops…
I used a simple chart to display your data. Try for yourself…