LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use shared variables?

Hello.. 🙂

 

        Can anybody please guide me in using shared variables... I'm learning LabVIEW 8.5.... But did not understand how to use shared variables... I tried to read web pages regarding shared variables but got confused.... So anyone can please help me...?

 

         Thanks for any help from you... 🙂

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

What can you not understand? Posting a specific question would help us answer it. Also, I am guessing you are talking about the following DevZone article:

Using the LabVIEW Shared Variable

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 9
(3,815 Views)
[Edit: Oops, my browser was too slow. Thanks Adnan.]
Message Edited by mathan on 01-06-2009 11:55 PM
0 Kudos
Message 3 of 9
(3,814 Views)
Oops.. My mistake.. I was talking about network published shared variables... I'm able to create a shared variable on host computer.. Now I want to use this variable at client computer... & I don't know how to do this communication.. 😞
0 Kudos
Message 4 of 9
(3,808 Views)
You need something like this?
0 Kudos
Message 5 of 9
(3,795 Views)

You will have to give us the whole picture. What is your client computer; a PAC, desktop etc? What are you running on the client computer; a VI or an executable? Where are you going to deploy your library? On the host machine or the client machine?

 

If I assume that you are running a VI on the client machine and are depolying the library on the host, all you have to do is to create another shared variable and bind it to the variable on the host machine. You can do this by checking the Bind to Source option when creating the variable and browsing to the network item in options. Be sure to have the library deployed on the host side before you attempt to do this otherwise you won't be able to find the variable.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 6 of 9
(3,792 Views)
Actually in my project I have to run a whole assembly line on labview 8.5 & FPGA... For that my client computer will be on line which will execute the program.. In that program there are sub vi's for each table  running independently in while loops.. And my host computer will be at my place through which I'll be able to monitor the process.. 🙂 for this purpose I need to know how to use network published shared variables... 🙂
0 Kudos
Message 7 of 9
(3,788 Views)
That's fine. The steps that are linked in mathan's post and the link that I have posted above should answer your question.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 8 of 9
(3,776 Views)
Ok... I'll try to use this information... Thanks a lot to both of you.. 🙂
0 Kudos
Message 9 of 9
(3,773 Views)