From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to configure cRIO-9036 to DHCP only mode programmatically

I have cRIO 9036, I am trying to set it to "DHCP only" mode

 From NI MAX

  1. I am able to configure Ethernet Adapter eth0 to "DHCP only" from MAX. 
  2. Save
  3. Restart
  4. NI Max cannot find the cRIo until cRIO obtains IP address from a DHCP server. - This is fine

Now Programmatically (attached Code)

using nisysconfig.lvlib and property node, when trying to set the cRIO in "DHCP only" mode.

I get error -2147024809.

LabVIEW: (Hex 0x80070057) One or more arguments are invalid.
=========================
NI System Configuration: Invalid parameter.

 

If it can be done from NI MAX, then it should be possible programmatically. What am I missing? Please find the attached code. 

 

Please help.

 

Thanks,

Narmada

0 Kudos
Message 1 of 1
(1,608 Views)