08-26-2018 11:09 PM
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
Solved! Go to Solution.
08-26-2018 11:19 PM
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?
08-27-2018 12:26 AM
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
08-27-2018 07:19 AM
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.
08-27-2018 08:14 AM
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