From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I plot XY-Graph if case is true?

It seems to me that it always has to be a while-/for loop before XY-Graph, I need a Case window instead, is that possible? If, how do i make it work?
0 Kudos
Message 1 of 3
(2,246 Views)
The XY graph takes an array of bundled XY values (or vice versa) as input, it does not care how that array has been created or whether it is in this structure or that. I think there must be some basic consept that you are missing, but upload a copy of your VI or a picture of the code and explain what you are trying to achieve, and we'll probably find a solution.
0 Kudos
Message 2 of 3
(2,246 Views)
Greetings Johan:

The GRAPH functios must always work witn an ARRAY. These can be created with either a WHILE loop or a FOR loop. If you want to plot point by point, you will need the CHART functions instead. There is a XY chart example in the HELP files. Good luck!

ERic
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 3 of 3
(2,246 Views)