02-08-2010 09:47 AM
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?
02-09-2010 03:43 AM
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
02-09-2010 05:20 AM
02-09-2010 07:45 AM
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