LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview applications in a network....

Hello there !

I´m not a LV programmer but intend to be (maybe, depends...).
I have a questian about "how LV is working in a network"...

Is it possible to run a Labview application from a server (NT server in a
LAN),
actually call/start the same application from several different clients ?

If I have several clients with the same application and don´t want
to update each application on each client after changing something
in the "code/diagram" !

Is this the way for easy maintaining ?


Is there a solution for this ?
What is the common way to solve this ?

//Nicke
0 Kudos
Message 1 of 3
(2,783 Views)
Nicke,

I think this should be possible in LabVIEW. I found a simple example of this
case that uses the VI Server to do this: http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&780616AC60AA0EE08625683A000B7DA4&cat=2E4161187E3DEB30862568660020BCC8

In that example you can call a VI that might reside on another machine from
a client, remote Data Acquistion calls are also possible thorugh a number
of methoed.

Of course if you change the VIs panel etc during your revisions I don't know
if things will work quite as seemlessly.

Here is a search results page I received from the NI Developer Zone after
searching on "vi server", you should find a few examples of how VI Server
can be used to implement a distributed application.
http://search.ni.com/custom/nidz/quer
y.html?col=alldocs&qp=%2Burl%3Azone.ni.com+-url%3Aprint%3D1+-find%3Anull+%2Bsection%3ADevZone&qt=%2Bvi+%2Bserver

One thing to be aware of however is that with multiple clients you'll need
to be a little more careful to make sure there is no data corruption, making
VIs reentrant is one thing and also using semaphores - in cases where you
need to implement a mutex type of fucntionality to control access to data
etc.

Hope that helps.
Kamran

"Nicke" wrote:
>Hello there !>>I´m not a LV programmer but intend to be (maybe, depends...).>I
have a questian about "how LV is working in a network"...>>Is it possible
to run a Labview application from a server (NT server in a>LAN),>actually
call/start the same application from several different clients ?>>If I have
several clients with the same application and don´t want>to update each application
on each client after changing something>in the "code/diagram" !>>Is this
the way for easy maintaining ?>>>Is there a soluti
on for this ?>What is the
common way to solve this ?>>//Nicke>>>
0 Kudos
Message 2 of 3
(2,783 Views)
You should look at using Source Code Control in LabVIEW. One computer is the
Source Code Administrator and the other users can check vi's out and return
them to the host.
"Nicke" wrote in message
news:3a1bedf0@newsgroups.ni.com...
> Hello there !
>
> I´m not a LV programmer but intend to be (maybe, depends...).
> I have a questian about "how LV is working in a network"...
>
> Is it possible to run a Labview application from a server (NT server in a
> LAN),
> actually call/start the same application from several different clients ?
>
> If I have several clients with the same application and don´t want
> to update each application on each client after changing something
> in the "code/diagram" !
>
> Is this the way for easy maintaining ?
>
>
> Is
there a solution for this ?
> What is the common way to solve this ?
>
> //Nicke
>
>
>
0 Kudos
Message 3 of 3
(2,783 Views)