08-04-2009 10:18 AM
Hello,
My cRIO application records data to file where it sits until an ftp client connects. However, when the file size is big (>1M), the ftp server takes too much time and my WATCHDOG trips.
How can I limit the transfer speed on the built-in cRIO ftp server??
Thanks in advance,
-Mark
08-05-2009 10:06 AM
Hi Mark, there is no way to change the speed on the crio. What client are you using for the client? Can you change the settings for the watchdog?
Flash
08-05-2009 10:34 AM
Wow. Yikes. Seriously?
I can't dictate the client software because I don't control the end user's access. Also, changing the watchdog would defeat the purpose of the watchdog.
How about severely limiting the priority of the ftp server? Or, increasing the priority of my application? How can I access the operating system level priorities? I don't want to start messing with it unless I know I can affect the performance I want.
Thanks again for your advice... -Mark
08-06-2009 07:00 PM
Hi Mark,
How do you have your code architected?
If you are using timed loops for your control code, they should be prioritized above the FTP transfer that is running in the background.
Are you using the watchdog VIs? The whack VI should go in the timed loop you have performing the control and set to expire if that loop exceeds your maximum acceptable jitter.
Kurt
08-10-2009 12:14 PM
Thanks for following up - I've done some further testing and I think the problem is related to how I am running the system, rather than a problem with the ftp server on the cRIO.
If I attempt to get a large file >3Mb from the cRIO while I am _connected_ and running (i.e., loaded into ram with the 'no app' on), the connection breaks, hangs the cRIO long enough for my watchdog to trip, and resets.
However, when I deploy the program to the cRIO, set 'no app' off, and let the system load automatically, the same ftp transfer causes no reset. Since my final configuration is indeed with the program deployed, I'll conisder the issue tabled for now...
Thanks so much for you help and attention!
-Mark