LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

name of remote computer

Is there a way to get the name of a remotely connected computer?  I can get the IP address, but the customer would like to see the name of the computer as well.
 
Thanks,
 
Nathan
0 Kudos
Message 1 of 7
(3,435 Views)

There is an IP To String function on the TCP pallette. If you wire in the address, you should get the name of the computer as the string.

Allen

Message 2 of 7
(3,427 Views)
As far as I know, the IP to String fuction only gives the numeric IP address- the computer name does not show.
0 Kudos
Message 3 of 7
(3,402 Views)
Settings >> Control Panel >> System >> General/Network ID/Advanced?
0 Kudos
Message 4 of 7
(3,396 Views)
The IP to String function has a boolean input. If you leave it unwired or wire false, you'll get the computer name. If that doesn't work for you, you can still use the System Exec VI to call the "nslookup IP-address" command and parse the output.
Daniel

0 Kudos
Message 5 of 7
(3,388 Views)
Look at the help for the function. There's a Boolean input called 'dot notation? (F)'. The default is false so it will return the network name by default and only if you wire a True to it, will it return the numeric. If you had actually tried the function, you would have seen the result yourself.
0 Kudos
Message 6 of 7
(3,378 Views)

Thanks,

I somehow overlooked this.  That answers my question.  I really appreciate the help.

 

Thanks again,

Nathan

0 Kudos
Message 7 of 7
(3,364 Views)