LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make an XY Graph behave as an XY Chart

Solved!
Go to solution

Hi, everyone,

I would like to add a subVI to store xygraph value use the subVI like this picture shows. But my input data is one dimension array. The outcome of shift register become two dimension, I cannot use array size and cannot make a XYgraph. What is the best way to combine this function.

Thanks a lot!

Best regards

Liang

0 Kudos
Message 1 of 5
(2,822 Views)

Your VI you attached doesn't match your picture.  How are the two related?

 

Why does your VI have an inner while loop that doesn't have a stop condition?

 

Did you try to set your Build Array to Concatenate Inputs?

0 Kudos
Message 2 of 5
(2,818 Views)

I want to show the subVI that i am going to add, the inner while loop is the subVI, i want to test if the data match. i tried concatenate Inputs, once i use shift register, it seem become a default choice.

Thanks

0 Kudos
Message 3 of 5
(2,798 Views)
Solution
Accepted by topic author frogliang

Delete the 2D array wire going into the Build Array.  Now you can right click and change it to Concatenate Inputs.  Then replace the wire you just deleted from the shift register to the Build Array.

0 Kudos
Message 4 of 5
(2,780 Views)

Yesterday in response to another post (here), I wrote a few paragraphs on Charts vs Graphs.  If the data are Static (unchanging) and you want to see all of it, a Graph is a good choice.  If the data are Dynamic (changing) and you want to see the most recent elements (time to be decided by you and the size of your monitor), a Chart makes more sense.  If the data are Dynamic and you only want to see it from the beginning (and maybe not see the most recent, depending on your scale factors), then you can use a Graph (but I'd still probably suggest a Chart).

 

Bob Schor

0 Kudos
Message 5 of 5
(2,770 Views)