LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i use control reference to pass integer to a sub VI

how can i use control reference to pass integer to a sub VI?
0 Kudos
Message 1 of 2
(2,490 Views)
In your subVI (Sous3.vi), create a Numeric control on the front panel. Right-click on the numeric and choose "Representation >> I32." Ctrl-drag this numeric onto both the "Number In Refnum" and "Number Out Refnum." This will change them to integer control references.

Note that you should change your top-level VI (Principal.vi) to pass only integer control refnums to Sous3.vi.
0 Kudos
Message 2 of 2
(2,490 Views)