LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remote control vi via network

I have a question: I am writing a software that monitors equipment via DAQmx using an 8106 controller in Windows. This program needs to be started and stopped from a control software on a different machine on the network. The control software will be written in Visual C.

What is the best way to implement this remote control?

 

0 Kudos
Message 1 of 4
(2,951 Views)

My suggestion:

Design a designated "API" for the remote control. So your "Server Software" (the LabVIEW application) waits for commands from the "Client" (your VC application) and returns at least status information.

You can use an TCP interface in order to do this.

 

There are other possible solutions (as common to software developement), but i see this one as the most promising with a minimum on efford.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,929 Views)

To Norbert B: +1

 

If you have only VC, it is going to be heavilly challenging task writing  TCP/IP app.

In LView you just have everything already done to deep extend as far as TCP/IP (and many other things, by the way :smileywink:) is concerned.

 

Thanks.

0 Kudos
Message 3 of 4
(2,922 Views)

Sharonoff is correct that using TCP is much more simple in LabVIEW than it is in VC(++). But i have to note that there are still some useful sites in the internet available showing example code for TCP stack handling in VC++.

See this link as an example.

 

Please note that the number of useful links is decreasing over the years since C# is indeed more and more replacing VC++.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,910 Views)