LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the PC name

Hello,
is there a way to read the name of the PC with LabView 5.1? I can read the
OS, the version and the username, but not the name of the PC.
Thank you for your help.
Regrads,
Lars
0 Kudos
Message 1 of 5
(3,429 Views)
"Lars" wrote:
>>Hello,>is there a way to read the name of the PC with LabView 5.1? I can
read the>OS, the version and the username, but not the name of the PC.>Thank
you for your help.>Regrads,>Lars

lars,

check out http://george-zou.sinacity.com/, george has alot of useful vi's
for controlling windows, etc, there is also a vi to get computer name.

pat
0 Kudos
Message 2 of 5
(3,429 Views)
http://www.users.globalnet.co.uk/~pseudo/
follow the link.

ozan...

"Lars" wrote in message
news:3a893716@newsgroups.ni.com...
>
> Hello,
> is there a way to read the name of the PC with LabView 5.1? I can read the
> OS, the version and the username, but not the name of the PC.
> Thank you for your help.
> Regrads,
> Lars
0 Kudos
Message 3 of 5
(3,429 Views)
There is an example that ships with Labview that uses a call library function
to do what you are asking. Search examples and go to Calling external code
and then open the example Hostname.

"Lars" wrote:
>>Hello,>is there a way to read the name of the PC with LabView 5.1? I can
read the>OS, the version and the username, but not the name of the PC.>Thank
you for your help.>Regrads,>Lars
0 Kudos
Message 4 of 5
(3,429 Views)
That was exactly what I was looking for.

Thanks Kelly
0 Kudos
Message 5 of 5
(3,429 Views)