From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving cFP's IP address

Hi,
 
From my embedded LabVIEW, I would like to retrieve the IP address of the cFP controller it is running on.  How can I do this? 
 
I can easily do this from my Host by using the Ping Controllers.VI.  But I would like to do this on the RT target (Ping Controllers.VI did not work -- timed out -- when embedded).  Something similar to the IPCONFIG command, but for RT, would work. 
 
Thanks in advance!
 
-Khalid
0 Kudos
Message 1 of 3
(2,940 Views)

Another way of doing this on a PC is using String to IP followed by IP to String (both from the TCP palette) with Dot Notation set to True.

I can't test this on a FP at the moment, but I think it will work.


___________________
Try to take over the world!
Message 2 of 3
(2,936 Views)

Thanks tst; that works great!

-Khalid

0 Kudos
Message 3 of 3
(2,925 Views)