11-29-2006 11:43 AM
11-29-2006 05:08 PM
The RS-232 library has functions that make com easier than using fopen and fgetc. It has the SetComTime function to set the timeout.
SetComTime (int COMPort, double timeoutSeconds);
The default timeout is 5 seconds.
12-03-2006 10:31 AM
12-04-2006 07:30 AM
12-05-2006 05:07 AM
I haven't tested it, but CVI RS-232 library contains GetSystemComHandle function that returns the system handle to the com port used: this value should be passed to SDK SetCommTimeouts function to set appropriate timeouts for both input and output: maybe you can give a try to it.
Hope this helps