ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run LabVIEW executable when user logs off

Could other PC's on the network have access to my windows service program?  For example PC 1 has the windows service program.  PC 2 has my UI program.  Would they be able to comunicate? 

Dan Shangraw, P.E.


   

0 Kudos
Message 11 of 13
(748 Views)

That should work. Internet servers or FTP servers can run as service as well, so TCP communication to a service via network is definitely possible. You might have to set up the service dependencies correctly, your service will depend on the TCP/IP service.

Then of course it's a firewall question, you have to make sure that the PC running the service allows incoming connections.

 

0 Kudos
Message 12 of 13
(744 Views)

ASTDan wrote:
Could other PC's on the network have access to my windows service program?  For example PC 1 has the windows service program.  PC 2 has my UI program.  Would they be able to communicate? 

Sure. For example, you can use TCP/IP as transport layer for your service. Theoretically you can get communication from several client PCs to your SErvice PC at the same time (some programming work required, of course).

 

Andrey.

0 Kudos
Message 13 of 13
(742 Views)