05-15-2012 01:17 PM
I have an sbRio application where I store some settings and calibration info on a file in a directory on the board. When I want to deploy a new image, the labview panel that runs on the computer ftp's into the rio board and grabs the files. Then it uploads the image, pushes the settings files back and then restarts the board. All that runs great when things go as they should. However from time to time the deploy image vi hangs. When it does that the files I grabed are potentially lost depending on how the user has temp files setup.
Is there any way to store those file to some sort of flash memory or have them in another directory that won't get wiped out by deploying a new image?
Thanks,
Eric.
05-16-2012 02:10 PM
As far as I've seen when you flash a RIO it wipes the entire drive. If you had a USB mass storage device attached you might be able to store it there instead. Maybe change your imaging program to save the files locally to an explicit folder and keep them until the RIO reports a successful image. Your program can then delete them off the user's driver. I wouldn't trust a Windows temp file for this either.