LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass reference into sequence

I'm passing a control reference to a slider to a subVI.  I placed the control reference of the subVI inside a flat sequence, but the reference value never shows up on the line when I run.  When I probe, I get "not a reference" returned even though the probed reference from the main VI shows just fine.  It's like the subVI control isn't wired to the connector pane (which it is by the way).
 
I moved the control reference in the subVI outside of the flat sequence and everything works just fine.  Why does putting it inside the sequence hose things up?
0 Kudos
Message 1 of 3
(2,574 Views)

 


@Sirmutt wrote:
Why does putting it inside the sequence hose things up?

It shouldn't, so something is wrong. Can you attach a simplified version of your code that shows the problem?

0 Kudos
Message 2 of 3
(2,572 Views)
Dumb mistake.  I re-initialized everything at beginning. once out of the sequence, it gets the value rather than re-initializing to nothingness.  Simplied VI led me to that conclusion so thanks.
0 Kudos
Message 3 of 3
(2,562 Views)