11-13-2009 04:10 AM
Dear Sir,
I would like to get values which are already present in one VI into another VI.
How can i do this in LabView?
Thanks in Advance.
Regards
Chitra
11-13-2009 04:24 AM
11-13-2009 04:38 AM
Dear Sir,
I have randomly generated some values in one vi. I need to get these randomly generated values into another vi.
InAdvance Thanks
Regards
Chitra
11-13-2009 04:41 AM
Suppose VI A holds the data and you need that data in VI B
Then with attached VI's you can do the job
This is if you want "live" data from VI A in VI B.
11-13-2009 04:42 AM
Hi Chitra,
again: use a wire! It doesn't matter if values are randomly generated or not ![]()
Longer explanation:
Connect the indicator of your random values with a connector terminal. Make a control in the second vi and connect that too with a connector terminal. Put both (sub)vis into one main vi and connect them with a wire! Or: RTFM!
11-13-2009 04:43 AM
11-13-2009 04:43 AM
chitrar wrote:Dear Sir,
I have randomly generated some values in one vi. I need to get these randomly generated values into another vi.
InAdvance Thanks
Regards
Chitra
Do you mean that you generate data in one VI and then need it in another?
11-13-2009 04:44 AM
Hi chitrar,
If you want to pass information to a sub-VI, then I agree with GerdW, you should just use a wire.
If you want to use the information after closing the first VI, then you should write your information to a file and read that file in the second VI.
But I dont quite get why you are trying to do this, please explain your application.
Cheers!
11-13-2009 08:12 AM