LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read computer name/id from LabVIEW

I am looking for an easy way to read the computer id that a VI is executing on.  I am looking for the computer network name, like what is displayed on the System Properties, Computer Name tab in Windows XP.  Anyone know an easy way to do this?
 
thanks,
0 Kudos
Message 1 of 4
(3,934 Views)

Use String to IP and IP to String on the TCP palette. If the input to String to IP is empty, it defaults to the local machine.

Message Edited by Dennis Knutson on 12-13-2006 01:20 PM

Message 2 of 4
(3,932 Views)
Darn, beat me. I was going to suggest using system exec.vi. Wiring "cmd /c hostname" to the command line input will give you the hostname. Dennis's idea is better though.

Message Edited by Marc A on 12-13-2006 03:23 PM

0 Kudos
Message 3 of 4
(3,922 Views)
thanks to both of you

Message Edited by busman on 12-13-2006 02:27 PM

0 Kudos
Message 4 of 4
(3,915 Views)