11-14-2014 06:46 AM
Hi,
i had converted a vi opening a TCP connection on a device, to a dll to use it in cvi
the device have a static ip adress.
OpenTCPConnection("192.168.127.254",1000, &connectionID);
I'm wondering if the syntax is right?
Regards,
SASA
11-14-2014 09:12 AM
I don't understand your question.
Do you want to know if the call is right? It depends on what the VI you're calling is expecting.
Do you want to know if that syntax "looks" good? Difficult to respond. I would have added at least a return value indicating the result of the call (good/error).
But why you're going the LabVIEW DLL way? Couldn't you simply use ConnectToTCPServer () function and its companions in CVI TCP library?