Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

How I obtained the IP address of the RPi localhost using LabVIEW code running on the RPi

Hi folks,

 

Just wanted to pass on my observations in case it helps others.

 

I am running LabVIEW code on my Pi zero 2 W, and wanted to programmatically obtain its (DHCP assigned) IP address from within its running LabVIEW program.

 

the first method listed here for the cRIO didn't work (compiled with errors), but the second method here - Rolf's suggestion worked fine !    It used "String to IP, with empty input, followed by an IP to String function."

RPI and cRIO obtain localhost IP address.png

 

 

Peter
Message 1 of 1
(223 Views)