fscanf warning message
7 views (last 30 days)
Hi, I am using serial port communication. I can write and read the data but the warning after "fscanf" keep pop up. Below attached the code. Code:
out = fscanf(s)
Warning: A timeout occurred before the Terminator was reached.
May i know what is the problem?
Jan on 22 Jun 2012
If the timeout occurred to early, what about increasing the time?
set(s, 'TimeOut', 100)
? But the default of 10 seconds should be long enough... Perhaps the other parameters are not correct?