05-18-2009 10:25 PM
I dont want the instrument assistant to time out if there is no serial input. 
The only way i know how to do this is open front panel of the instrument assistant and delete the timeout number constant block from the property node's timeout setting.
But i dont really like to blow up the instrument assistant, is there a simpler way to do this? Like deactivating some setting? 
Thanks you.
Solved! Go to Solution.
05-18-2009 10:36 PM
Within the I/O assistant, you could set the timeout to -1 which will actually become 4294967295 milliseconds (the maximum value for a U32). That would be a timeout value of nearly 50 days.
But why would you want that? I see no logical reason not to have a reasonable timeout value. A timeout is intended to protect you from trying to read a message that never comes. Suppose a cable gets kicked out before the response to a message comes back. Do you want your code to freeze forever waiting for a response that will never come? Or would you like to detect a timeout error and handle that gracefully.