pikro Posted March 16, 2008 Report Share Posted March 16, 2008 Hi,I have one question. I have two .vis. Is possible read value of any indicator from first .vi and this value to use like control in second .vi?? For example. The first .vi is linked to incremental encoder. And I want to read the signal from encoder in the second .vi. Quote Link to comment
kristos_b Posted March 17, 2008 Report Share Posted March 17, 2008 QUOTE (pikro @ Mar 15 2008, 06:54 PM) Hi,I have one question.I have two .vis. Is possible read value of any indicator from first .vi and this value to use like control in second .vi?? For example. The first .vi is linked to incremental encoder. And I want to read the signal from encoder in the second .vi. Hi, You can use TCP for this. Have a look here: http://decibel.ni.com/content/docs/DOC-1425 Rgds, Krystian Quote Link to comment
T_Schott Posted March 17, 2008 Report Share Posted March 17, 2008 Hi, an easy solution: you can add a global variable an write the value into (you can use a shared variable, too) another solution: using vi server, or reference the vi, get all front panel indicators and select the one you want -timo Quote Link to comment
Eugen Graf Posted March 17, 2008 Report Share Posted March 17, 2008 I use Queues and Notifiers for this. Quote Link to comment
pikro Posted March 18, 2008 Author Report Share Posted March 18, 2008 QUOTE (T_Schott @ Mar 16 2008, 11:07 AM) Hi,an easy solution: you can add a global variable an write the value into (you can use a shared variable, too) -timo ok, i have created global variable an writed the value into. But now, i dont know how to use this variable in secon vi thank for your help Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.