检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈本永[1] 韩伟智[1] 张丽琼[1] 蔡晓晰[1]
机构地区:[1]浙江理工大学纳米测量技术实验室,浙江杭州310018
出 处:《测试技术学报》2008年第4期354-358,共5页Journal of Test and Measurement Technology
基 金:浙江省科技攻关计划重点项目(2006C21059)
摘 要:结合纺织品光学性能检测系统的开发实践,提出了一种基于VC++多线程串口通信的实时数据采集系统的设计和实现方法.在主线程的基础上,创建了两个工作者线程,一个用于监视串口缓冲区数据,一个用于对从串口读取的数据进行处理,工作者线程通过自定义消息和主线程进行通信.对系统进行了不同类型光源和纺织品检测,实验结果表明,基于多线程串口通信技术的织品光学性能检测系统数据采集准确、可靠.A multithreading serial-port communication method for textile optical properties test system is presented in this paper, which is designed to sample textile optical data and based on VC++ multithreading technique. Two worker threads are set up on the base of a main thread. One is designed to watch the data in the serial-port buffer. The other is designed to deal with the data read from the serial port. They communicate with the main thread by means of self-definition message. Various light sources and textiles were tested in order to verify this method. The experimental results show that this method is exact and reliable.
分 类 号:TP392[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49