LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get values

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

0 Kudos
Message 1 of 9
(3,876 Views)

Hi Chitra,

 

easiest would be to use a wire...

 

For more suggestions you have to provide more details!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(3,871 Views)

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

0 Kudos
Message 3 of 9
(3,862 Views)

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.

Download All
0 Kudos
Message 4 of 9
(3,859 Views)

Hi Chitra,

 

again: use a wire! It doesn't matter if values are randomly generated or not Smiley Wink

 

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 9
(3,858 Views)
You could also use a Queue, Notifier, Action Engine and VI Server (Alain S' reply).  Here's how to send a String from one VI to another using a Notifier.

notify.png

(among many options)
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 6 of 9
(3,856 Views)

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?
Then just use the connector of the VI's.....
0 Kudos
Message 7 of 9
(3,855 Views)

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!

Pattos

LabVIEW Gretchin
0 Kudos
Message 8 of 9
(3,854 Views)
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
0 Kudos
Message 9 of 9
(3,823 Views)