LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Transfer from SubVI to another SubVI

Solved!
Go to solution

Hi All,

I have a question,

Do anyone know how is it possible to transfer data in DBL form from one SubVI to another SubVI on the same project file with some arthemetrical calculations and codings in the VIs.

I do not want to use local or global variables. How do I use refnum? Can anyone help me?

 

Thanks,

Alan.

0 Kudos
Message 1 of 3
(2,524 Views)
Solution
Accepted by topic author saintalan94

Hi Alan,

 

It's very simple. You just have to wire the data to an indicator in your first SubVI, then make it an output using the connector pane. Call both SubVIs in your main program at the point where you want the data to transfer, and wire this output to an input of the other SubVI.

 

Another option is to call the second SubVI within the first and simply wire the data to an input.

 

Message 2 of 3
(2,514 Views)

Well, there's a Notifier, Queue, Functional Global Variable (also known as an Action Engine).  There are many ways to do this.  Can you be a little more specific on your needs?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,480 Views)