LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programatically get a PC's IP address

Solved!
Go to solution

is there some property node or system query that would return a string of the host PC's IP Address?

Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 4
(2,259 Views)
Solution
Accepted by topic author lmd2

Hello Lawrence,

 

There are a few ways to do this, but the simplest is probably something like this:

 

Community Example: Find out your computer's IP Address and Computer Name

https://decibel.ni.com/content/docs/DOC-3917

 

This could also be accomplished with System Exec/command prompt  queries, or the Sysconfig API

 

 

Regards,

Tom L.
Message 2 of 4
(2,252 Views)

thanks, figured there was a function somewhere, finding the right palette could be tough; you've been very helpful.

Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 3 of 4
(2,223 Views)

Glad to help- it's definitely true that finding the right function for the job is half the battle.

 

Tom L.
0 Kudos
Message 4 of 4
(2,211 Views)