|
Reset user program button
This was inspired by complaints about the needed reboot after code download to the cRIO
What I would basically like is a button on the driver station, similar to the reboot button, that kills and reloads user code on the cRIO. From what I know about the system, I don't think this would be too hard. User programs run in their own task, and this task is loaded as a default library on boot. To do this, the simplest thing would just be kill the user program task and reload it from flash. Don't think it would be too hard unless there is some aspect of the system I'm missing
This would be really helpful for downloading code since the reboot time is the most annoying thing when downloading for me. according to NetConsole, the time for the actual user program to load relative to the rest of the system boot is minimal, in most situations less than a full IFI boot. A simple reset of the task after download would save much time in the pits and for programming in general (as well as many "can we run it yet?" questions. Why can't they learn the RSL codes?)
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
|