Are you referring to using the VI Server, or are you doing raw TCP/IP communication? If you're talking about using the VI Server, then I think you need to have these lines in your .ini file:
server.tcp.enabled=True
server.tcp.access="+localhost"
server.tcp.port=3362
Modify above as needed (e.g., for the access).
Client/Server applications are communicate via standard TCP/IP VIs. I have tried to add 3 line as you wrote to server.ini, but it's didn't help :mansad:
--Alex
In LabVIEW select options>>VI Server: configuration>>Check the TCP/IP option.
This has worked for me!!!
JK1, I have LabVIEW Run-Time Engine installed on PC with Server application.
-- Alex
sorry dint notice that 'application' word![]()
But small suggestion: In LabVIEW environment >>Options>> VI:machine access>> add>* to allow access to all machines.
Now create the exe. Because when you create the exe the LabVIEW.ini file with current environment settings is added by default and the above command will add a line to ini file.
Just give a try if you havent tried
<Alex> wrote:Client/Server applications are communicate via standard TCP/IP VIs. I have tried to add 3 line as you wrote to server.ini, but it's didn't help :mansad:
As I indicated, the lines are only applicable to using the VI Server. You had not indicated whether you were using the VI Server or just the TCP/IP VIs. At this point we need a better explanation of what you're doing. Specifically:
Seeing some code wouldn't hurt either.
Hi Alex,
There is a KnowledgeBase article that talks about changing the port number so the different applications can communicate. Does that help?