NI Labs Discussions

取消
显示结果 
搜索替代 
您的意思是: 

NI System Configuration API

Can the API configure a reformated cRIO with an IP address of 0.0.0.0?

0 项奖励
11 条消息(共 96 条)
8,615 次查看

Yes, it can if you specify the MAC address.  Note that if you use the Find Systems it will return any system with a 0.0.0.0 address with the MAC address.  You first will need to use the API to set the IP address to something valid (static or DHCP) and reboot the system using the API.  Then you can install software or apply an image using it.

0 项奖励
12 条消息(共 96 条)
8,615 次查看

I am trying to use the API to do a simple cRIO target image acquire and then use that image file to redeploy to the cRIO.

It appears that I am getting a valid target image (zip) file.  But the deploy always fails with the following error.

Error.PNG

Any Ideas?

BTW, I can do the same thing with the RT system replication tool that comes with LV 2010 SP1 and it works fine.

One thing I did notice is that the new replication tool does not seem to be using the System Configuration API,  is that correct or is it buried

deeper under the hood?

0 项奖励
13 条消息(共 96 条)
8,615 次查看

Unfortunately, that is a known error with the current version of the NI System Configuration API.  It is caused by the API not properly handling the startup.aliases file in the image.  This issue will be fixed in the next version schedule to release in August, but for now you can try to remove that file from your image and then see if the Set Image works.  Sorry for the inconvenience. 

0 项奖励
14 条消息(共 96 条)
8,615 次查看

Ok, that is a fatal flaw for me.  Is that a difficult thing to patch in your API?

0 项奖励
15 条消息(共 96 条)
8,615 次查看

We are currently working on preparing a public beta.  Would that suffice for now?

0 项奖励
16 条消息(共 96 条)
8,615 次查看

That would be fantabulous!  How do I sign up and when is the beta going to be available?

17 条消息(共 96 条)
8,615 次查看

Once it is available you should be able to sign up at ni.com/beta.  I'll let you know once it is posted.

0 项奖励
18 条消息(共 96 条)
8,615 次查看

I would suggest logging into ni.com/beta and registering for the LabVIEW 2011 Platform beta.  You should get an email once it becomes available and it should include NI System Configuration 5.0, which should resolve the issue.

0 项奖励
19 条消息(共 96 条)
8,615 次查看

Yes, I am already registered for the LV2011 beta.  Will I be able to lift the 5.0 software and recompile for LV2010?

Since our system is already been validated for LV2010 and will be finalized by the time LV2011 is released.

0 项奖励
20 条消息(共 96 条)
8,615 次查看