ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
04-06-2009 10:33 AM
04-06-2009 02:13 PM
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).
04-07-2009 02:29 AM
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
04-07-2009 02:42 AM
In LabVIEW select options>>VI Server: configuration>>Check the TCP/IP option.
This has worked for me!!!
04-07-2009 02:49 AM
JK1, I have LabVIEW Run-Time Engine installed on PC with Server application.
-- Alex
04-07-2009 05:56 AM
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
04-07-2009 07:12 AM
04-07-2009 08:48 AM
<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.
04-07-2009 04:25 PM
Hi Alex,
There is a KnowledgeBase article that talks about changing the port number so the different applications can communicate. Does that help?