09-16-2011 02:39 PM
I am trying to pass paremeter from one case of stacked sequence to another. It gives me a error message of undirected tunnel. Is there any way I can pass parameters from one stack to another stack within a stacked sequence without using the local variable?
09-16-2011 02:45 PM
09-16-2011 02:46 PM
If I'm reading you right that's what a sequence local is for. There is ALWAYS a better way to code than to use a sequence structure though. Post your code and I'm sure we can help you remove that ugly, confusing thing.
09-16-2011 03:58 PM
You can right click on your stacked sequence and choose Replace with Flat Sequence to keep all your code and flow intact. It'll be messy on your diagram at first but be much easier to see what you're doing and clean up.
09-19-2011 05:43 PM
Hi MansoorEE,
To pass data from one frame to another frame, a stacked sequence structure uses a "sequence local" terminal.
I would agree that using a sequence structure, especially a stacked sequence structure, should be avoided if possible. If you feel that you require a sequence structure, then a flat sequence structure would allow you, and others, to visualize the flow of data more easily.
If you search LabVIEW Help for "Stacked Sequence Structure" there is some great information about this that might be able to answer your question more thoroughly. Also, if you have any other issues, please let us know.
Best Regards,
Nathan Burke
Applications Engineer
National Instruments