摘要
串口通信所要求的实时数据读取及储存占用了大量的系统资源。具有同时执行多任务特性的多线程技术和易操作的ODBC技术在VC下的综合利用很好地解决了这一问题。在水处理电压电流检测系统中利用此方法进行程序设计提高系统的实时性,取得了很好的设计效果。
Real-time data reading and storage which are required in serial communication occupy a large amount of system resources. Utilizing multithreading technology which can implement multitasking at the same time and ODBC technology which can be easily operated in VC, has solved this problem well. Voltage and current of water treatment measuring system adopts this approach to improve system in real-time and obtains nicer design purpose.
关键词
多线程
ODBC
串口通信
multithreading
ODBC
serial communication