LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass parameters in a stacked sequence

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?

0 Kudos
Message 1 of 5
(9,903 Views)
Right click and select add sequence local but really, really rethink what you are doing. A stacked sequence is horrible style. It should never be used.
0 Kudos
Message 2 of 5
(9,900 Views)

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. Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 5
(9,898 Views)

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.


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 4 of 5
(9,882 Views)

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

0 Kudos
Message 5 of 5
(9,848 Views)