LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating Between Multiple LabVIEW Executables on different computer using Shared Variables

hi,

 

I need to develop some executables which will be launched on different computer of a LAN. Some DATA are common. I need to share the data using shared variables.

 

I usually used LabVIEW so I 'm familiar with shared variables but in this case, the RT target is a part of my project.

 

 

 

I do I need to procceed in my case?

 

 

 

thanks

 

 

 

0 Kudos
Message 1 of 9
(4,005 Views)
I have used shared variables on RT and PC systems. Just be sure to check for errors on the shared variables when you read them. I would get bad reads randomly and had to add some code to ignore that data. After that, it worked well.
0 Kudos
Message 2 of 9
(3,986 Views)

Hi,

 

I've never experienced such problems using shared variables!! 

 

James

Message 3 of 9
(3,946 Views)

Really easy to use. IO load them on my RT system for reliabilty. Here is a link to a tutoruial. In your case, just mock it up and test it.

 http://zone.ni.com/devzone/cda/tut/p/id/4679

0 Kudos
Message 4 of 9
(3,932 Views)

I'm not using a RT target.

 

In my case I've got several executable on different computer. 

 

 

0 Kudos
Message 5 of 9
(3,922 Views)
Just create a network shared variable on one machine. You can read it on the other. You can also use them on the same machine. The share variable has its own server. Will run on Windows, real time, etc. Again, if you are not familiar with them, read the tutorial, create a project to test out how to use them.
0 Kudos
Message 6 of 9
(3,914 Views)

Ok but it's not my configuration and I haven't found my answer in the tutorial.

You speak of a case where there is a computer and a RT target under the same LabView project. As I said earlier, I often use labview RT and shared variable between computer and RT target. But I assume here it's different.

 

 

My question is : how do you acces to the SVE from 3 computers (without any RT target)? 

 

 

1. If I create 3 labview projects using the same Shared Variable, do I need to use the same .lvlib on each project?

 

2. Is it possible? 

 

3. How can I configure where the SVE should be? When I use a RT target, It only depends where I put my Lvlib. But here there is 3 projects. 

 

 

 

 

James

 

 

 

0 Kudos
Message 7 of 9
(3,906 Views)

Use the example finder and search for share variables. There are several that do what you want. You do not need a RT system to use them. You can use them between PC's. Just select one as the server and load the shared variable engine to it. Here is a shot o the example finder.

 

0 Kudos
Message 8 of 9
(3,881 Views)

Use the example finder and search for share variables. There are several that do what you want. You do not need a RT system to use them. You can use them between PC's. Just select one as the server and load the shared variable engine to it. Here is a shot of the example finder.

 

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