LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data pass over sequence loop

i find there are arrow inside a small squares next to the edge of the sequence for passing data over frames.
i couldn't neither find this square in the control panel nor copy them from examples and paste to my vi.
please advise.

thank you
nick
0 Kudos
Message 1 of 3
(2,670 Views)
These are called Sequence Locals. You add them to the sequence structure by right clicking on the sequence frame, and selecting 'Add sequence local' from the context menu. A new one will be placed on the border, but initially it will not have an arrow.

Once you wire something to it, an arrow will show up in the square pointing out of the structure indicating that data is being written into that sequence local in that frame. Any frames prior to that frame in the sequence will not be able to use data from that local since the data will not have been written into it yet.

All frames after that frame will use whatever value is written into the local from that frame. You can only write to a sequence local in one frame of a sequence structure, but can read
that value from any, or all of the frames after.

Be careful using sequence structures and sequence locals. They can make you diagram very difficult to follow as you will have to break the left to right data flow and data paths become increasingly hard to follow. Especially if you are passing data from one frame to the next operating on that data in each frame. You then have to create a sequence local to pass the modified data from each frame to the next and they end up stacked up the entire edge of the structure.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(2,670 Views)
Ed,
i get it.
Thank
0 Kudos
Message 3 of 3
(2,670 Views)