关于串口的问题
错误显示在这句上ComRdByte (COMPort);下面是什么意思呀:
NON-FATAL RUN-TIME ERROR: "8034.c", line 423, col 16, thread id 0x00000690, function id 1: Library function error (return value == -99 ). I/O operation timed out
以前都没这个错误,今天才出现的,请高手帮帮忙~说是Run_Time Error 好像是串口没插好~~~ ???????? I/O operation timed out
这句话说明在读串口时超时了。如果排除线路故障,可使用SetComTime()将超时时间设置的大一点。
页:
[1]