摘要
讲述了Windows操作系统下线程的创建、通信和同步。利用VC++6.0中的MFC类库编写了测试动物脚掌粘着特性的实验程序,其中的多线程技术成功地解决了运动控制与数据采集同步的问题。为简化数据处理和实现电机的反馈控制,程序中采用了双缓冲技术和串行方式进行数据采集。
This paper introduces the creation,communication and synchronization of the thread in the Windows operating system.By using the MFC class libraries of VC++ 6.0,writes the experiment procedure to measure the adhesion properties of animals'soles,the multithread technology of which successfully solves the problem of synchronization between motion control and data acquisition.To predigest the data processing and realize the feedback control of motors,we use the double-buffer technology and serial mode to acquire data.
出处
《工业控制计算机》
2007年第3期46-46,48,共2页
Industrial Control Computer
关键词
粘着特性
多线程技术
运动控制
数据采集
ddhesion property,multithread technology,motion control,data acquisition