11-01-2010 02:26 PM
I am using the cFP-1804 controller, CVI 2009, trying to determine if the cFP rack is responding during initialization. Plan A is to do a an FP_Read at regular intervals, looking for an error.
Is there a way to control the cFP FP_Read timeout period? When the rack is not connected, the timeout appears to be ONE MINUTE. During that time, the application main thread is locked.
It seems to me that 5 seconds or even 1 second should be sufficient.
Plan B is to use InetPing, but that has issues also.
11-02-2010 05:46 PM
Hello hendray@ngms,
I do believe I'm assisting you with another post as well 🙂
From what I can tell about the cFP Read, there is not a parameter we can set to control the timeout of the function. This appears to be a limitation of the lower level driver we use for the cFP. I went all the way into the DLL to see if this was a parameter we could set, but couldn't find a specific timeout setting.
I did update the other post with information about using a network watchdog, which seems like it may be the best bet for your application.