05-06-2019 11:14 AM
Hello Community,
I'm trying to figure out how to programmatically determine if my PC and cDAQ chassis are on DHCP or static. This will help me make my IP change application for cDAQ chassis more solid in case PC and cDAQ are not same network.
Your help will be highly appreciated. Thanks!
Jatin
05-07-2019 05:47 PM
Hi ackatharotiya,
Have you checked the Community Example yet?
Once you download it, you should be able to change the Property Node values to read. And leave only the IPAddrMode option. Just as shown in the picture below:
After doing so, you'll simply need to input the IP of the device (either your PC or DAQ) you want to know if its DHCP or Static.
Regards and good luck!
05-09-2019 07:35 AM
Hey Moacir,
First of all thanks for your reply. I did check the community example that you mentioned in the link. The issue is when I get the IPAddressMode from the property node, it gives me the mode for my laptop instead of the cDAQ chassis. That helps me with my PC's IP setting but I still couldn't figure out the IP setting for cDAQ. Is there a glitch or I'm doing something wrong?
05-10-2019 09:20 AM
Hi ackatharotiya,
Could you please try the attached following example? I was able to retrieve the IP from RIO controllers with no problem using this VI.
By the way, what is your cDAQ chassis version?
Regards