LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No plots displayed in XY graph

Hello !
the XY Graph doesn't show anything when the program is run.I don't, Although, I Get in result all the necessary data for plotting the graph ( Speed ( in X axis), Overall, Max of range 1, Max of range 2 ) outputting the sub VI " Max Orders Range".
I cannot understand why the chart is not being plotted. what's wrong in my code? You will find attached the VI
Thank you in advance

0 Kudos
Message 1 of 4
(2,250 Views)

Hi Student,

 

the XY Graph doesn't show anything when the program is run.

This is a rather vague error description!

Does the graph not show any plots even though you are wiring sensful data to the graph? Did you check those data with a probe?

 

what's wrong in my code? You will find attached the VI

Unfortunately you missed to attach your whole project or atleast those missing subVIs!

 

I Get in result all the necessary data for plotting the graph ( Speed ( in X axis), Overall, Max of range 1, Max of range 2 ) outputting the sub VI " Max Orders Range".

Did you verify this using debugging with probes?


I cannot understand why the chart is not being plotted. 

There is no "chart", there's a XY graph. A graph can show several plots!

Please use proper wording…

 

I suspect the problem is due to missing shift registers in the outer FOR loop. (Just a guess…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,241 Views)

Hi!

The graph does not show any plots even though I wired senseful data to the graph, In fact, I get the data displayed in the arrays, but when I checked seperetaly each data ( each array) with a probe, using debbugging, I get the plots.

But still don't understand why it doesn't work with the code I made

0 Kudos
Message 3 of 4
(2,217 Views)

Hi Student,

 

But still don't understand why it doesn't work with the code I made

Me neither as you failed in providing runnable code without missing subVIs…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,211 Views)