LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am looking for a VI that will give me the computer 'Host Name".

I need to launch a rather program from a server from several PCs.  The program needs to know what PC it is running on in order to select several setup parameters.  Thus I am looking for a VI that will give me the local computer's (Host) name.  I have tried the "gethostname" function in the "wsock.dll", but I keep crashing the system. 
 
Thank You.
0 Kudos
Message 1 of 2
(2,402 Views)
You use the String to IP with no input wired and wire the ouput to IP to String. Both of these functions are on the Communication>TCP palette.
Message 2 of 2
(2,398 Views)