LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing data from one STACKED sequence frame to another

Hi there,
Do you guys know how to pass data from one stacked sequence frame to another?
 
I chose that structure for a sequence and to compact my code. Usually I develop the code with a flat sequence and then I click right on it and choose 'change to stacked sequence' then I see some arrows replacing the connections between the flat sequence frames.
 
I'd like to place the arrow directly between my stacked sequence frames.
 
I enclose a printscreen showing the arrow.
 
Thanks,
Charly
It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 1 of 5
(6,075 Views)


CharlyStardust wrote:
Hi there,
 
I'd like to place the arrow directly between my stacked sequence frames.
 



I don't know what you mean by that.  You see the arrow pointing to the right on that frame meaning that frame is the source of the data.  Go to the frame where it is used, you'll see an arrow pointing to the left into the frame.  It could even be used in more than one frame.  If you have a frame that doesn't use a particular "sequence local" (the name for those arrows), then it will be just a grayed box with no arrow.   If you need to create another one, right click on the border of the sequence and select "Add sequence local".
 
Why do you want to convert to stacked sequence from flat sequence?  How many frames are you talking about?  A stacked sequence is much harder to read and no where the data is coming from and going to.  A flat sequence should only be used when there is no other way to ensure data flow.  If the flat sequences take up too much screen real estate for you liking, then it may be necessary to refactor your code a little bit more and package up some portions into sub-VI's.Smiley Wink


Message Edited by Ravens Fan on 12-05-2007 03:53 PM
0 Kudos
Message 2 of 5
(6,071 Views)
If you're asking how to create the "arrow", right click on the sequence stucture and choose "Add Sequence Local."


Message Edited by Matthew Kelton on 12-05-2007 02:49 PM
0 Kudos
Message 3 of 5
(6,068 Views)

OK my bad I didn't know how to add the arrow Smiley Tongue

I really need to proceed with a sequence structure and I use a lot of subVIs to encapsulate my code. I chose the stacked sequence because it must be included into a event structure and I have at least 6 frames. It just about saving some space onto my block diagram.

Thank you Ravens Fan and Matthew Kelton for answering my question

Charly

It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 4 of 5
(6,039 Views)
You never really need to use either a stacked or flat sequence structure. There is nothing with a sequence structure that can't be accomplished with correct data flow and having subVIs with error in/out connections. A sequence structure can actually be a very limiting way to program and should not be used just to save space. In your case, it just makes the program harder to read and maintain. The sequence local usuallyjust makes a mess of the wiring.
0 Kudos
Message 5 of 5
(6,022 Views)