06-09-2015 09:52 AM
I have an application on a cRIO running the RT-Linux OS. The application is set up to detect a configuration file on a newly inserted USB stick and copy it over an existing file on the cRIO.
In trying to test this feature I performed the following steps:
1) Use Firefox and the web access to browse the cRIO file system and look at the folder containing the config file I see a size of x bytes and can open the file to see the original contents (and close the viewer).
2) Insert USB stick with new file and get blink pattern from USER1 LED indicating a file was found and copied.
3) In Firefox browse back to the folder containing the file on the cRIO and see the size has changed to y. But opening the file still shows the contents displayed in step 1.
I've tried logging out and closing the Firefox tab after step 1 and logging back in after step 2 but that made no difference. I also tried clearing the Firefox history and that didn't help.
I don't know if the problem is the browser caching the file or if the cRIO web access is buffering it.
Is there anything that can be done at step 3 to force the new file contents to be loaded and displayed?
06-09-2015 07:28 PM