I am developing my second CRIO application. This is a quite complicated real-time application that has been running on a PC and I am now porting over to CRIO for better determinism, more robust platform etc. I've done the FPGA coding and this is well tested, and now fitting in the rest of the real-time control into the CRIO-9004. I plan to use shared variables to get data to an accompanying PC for display, but have just two test variables running at the moment.
The problem is that the RT program runs for a while and then appears to hang up from the network. The FPGA is still working because it is setting outputs in response to digital inputs. Neither MAX or the test vi looking at shared variables can see it. This happens with a deployed RTstartup program, or from project explorer.
The only way to recover this is to go the rig and actually press the red reject button (or cycle the power).
I've been watching it with RT system manager, and although the CPU usage can go up to 100% if I have too many diagrams open, this is not definitely the cause - it just hung up from 60% usage, I'm using about half the RT memory so plenty of space there.
Possible causes -
There's too much code, performance needs to be improved. - Does anybody know of useful utilities to monitor cpu performance as a sort of watch dog.
The network or vi server is shutting down - Again, I'd appreciate some help on how to monitor this.
Obscure fault on CRIO hardware. ??
Looking forward to finding out if other people have had similar problems.
Lucy