检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:彭伟[1]
机构地区:[1]武汉城市职业学院电子信息工程学院,湖北武汉430064
出 处:《湖北工业大学学报》2012年第2期34-39,共6页Journal of Hubei University of Technology
基 金:湖北省教育科学立项课题(2009B349)
摘 要:介绍.NET串口通信类SerialPort相关技术,提出了在RS-232通信程序设计中出现线程异常的原因,通过对delegate、Thread及BackgroundWorker相关技术的研究,给出了基于C#开发环境,解决线程安全问题的程序设计方法,所设计的主控计算机程序与以PIC18F452微控制器为核心的控制板之间通过串口实现了8通道A/D转换数据的传输与图文显示测试,为.NET环境下的串口通信程序设计提供了重要参考.This paper described relevant technologies on.NET serial communication class SerialPort,and presented the cause of thread exception in RS232 communication programming.Based on C# development environment,a programming method was designed to solve thread safe problems.Between the designed master control computer program and the control panel that has PIC18F452 microcontroller as the core,8 channel A/D conversion transmission and graphical display test were implemented,which provides an important reference for.NET serial communication programming.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:13.59.0.231