05-17-2013 08:13 AM
Hi,
I went to run a rather important test yesterday and had issues communicating with the compact rio, I checked the status LED and it is flashing twice every few seconds which according to the manual means:
2 The controller has detected an error in its software. This usually occurs
when an attempt to upgrade the software is interrupted. Reinstall
software on the controller.
Now is it possible to just reinstall the controller software without having any sort of adverse effect on any of the labview code that has been set up? Myself and my supervisor are concerned that should we make an attempt to put the controller software back onto the crio it will mean that we lose communications alltogether (currently within MAX it shows that it is connected but software is missing).
How would this have happened in the first place? there would have been no attmept to upgrade the software in the first place.
Thank you in advance
Reza
05-20-2013 11:48 AM
Hi Rez
It certainly sounds like you will need to format and then re-prepare the cRIO.
Corruption of the software can occur if you are writing data to the disk from your application and inadvertently overwrite one of the system files.
Think of the system as somewhat like your computer, with an operating system(real-time) running as soon as your turn the unit on. This operating system is then capable of running the VIs which you push to it from your PC, and it's also capable of interacting with the FPGA on the system.
If you corrupt that OS somehow, then you can no longer run applications upon it, and it's necessary to set the system up again.
Doing so should not affect the LabVIEW code which has been 'set up'.
You should ensure that you have coped any important results that may reside upon the controller over to your pc, and then format the disk from MAX.
Following disk format you should install software as follows:
http://www.ni.com/gettingstarted/setuphardware/compactrio/controllersoftware.htm
This is the same procedure you would have followed upon receipt of the unit, with the exception of formatting as it would have been delivered pre-formatted.
Kind Regards