首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 140 毫秒
1.
VC++下通用串口通信类的多线程实现   总被引:11,自引:0,他引:11  
本文讨论了VC++下串口通信(SPC)的实现,向读者提供了一个基于VC++MFC的较为完善的通用串口通信类(SPCC)。该SPCC提供多线程支持,使得用户在进行串口通信时,主线程仍然能够继续执行自己的任务。  相似文献   

2.
KS-232-C串口通信技术的基本知识入手,结合在串口通信方面的工程实践。概要介绍了利用Visual C 开发面向对象的串口通信程序的通信类方法。  相似文献   

3.
用VisualC++编制串行通信程序   总被引:2,自引:0,他引:2  
本文介绍了在Win32环境下用VisualC 的MFC实现串行通信方法,用类实现多线程编程,较好地将32位串口通信的API函数封装在一个类中实现串行通信,并给出示例程序。  相似文献   

4.
一种基于VC++6.0的串行通信实现方案   总被引:6,自引:0,他引:6  
介绍了在VC++6.0下应用通信控件开发串口通信程序的方法,并给出了一个实际工程中的示例程序。  相似文献   

5.
VC++环境下利用MsChart控件对GPS数据的处理   总被引:2,自引:0,他引:2  
Visual C++由于功能强大和应用灵活,同时得到Microsoft系统的最好支持,因此Visual C++经常用作串口通信开发工具。本文探讨如何将通过计算机串口接收来的GPS数据,利用MsChart控件进行处理。  相似文献   

6.
基于Mondem的远程控制的C++Builder实现方法的研究   总被引:1,自引:0,他引:1  
文章主要介绍了Windows环境下开发基于C Builder的Modem通信软件来实现远程控制,着重介绍了如何利用C Builder进行串口编程和Modem的基础通信技术。作为实例,还介绍了作者自主开发的一个数控切纸机远程诊断系统。  相似文献   

7.
基于VC++6.0的高速串口通信数据采集系统   总被引:22,自引:11,他引:22  
在VC 6.0中利用MSComm控件实现串口通信时实时性较差。系统资源利用不足。无法满足高速串口数据采集软件的编程要求.针对高速串口数据采集软件的设计要求,提出了基于多线程技术和自定义消息机制的异步串口通信的设计思想.结合串口通信的机理和多线程同步方式,分析了Win32系统下多线程异步串口通信程序的开发方法。  相似文献   

8.
本文介绍了利用Visual 6.0进行串口通信的各种基本方式和Simens PLC自由口通信程序的设计,并重点阐述了Visual C 6.0中通过动态链接库进行串口通信的设计方法。  相似文献   

9.
组态软件中串口设备通信实现方法设计   总被引:3,自引:0,他引:3  
本文分析了组态软件串口设备通信的原理及开发方法。并提出了一种使用VC 6.0开发组态软件串口设备通信模块的具体实现方法。  相似文献   

10.
本文主要探讨了Windows9x下几种串行通信方法,介绍了利用WindowsAPI函数、MSComm通信控件、嵌入汇编三种方法进行串口通信的原理及步骤,同时比较并讨论了这三种方法的应用。  相似文献   

11.
目前大多数研究对复杂社会网络关键节点影响力的识别都是静态的,缺乏动态变化的分析。采用可拓聚类方法对动态变化下的科教人际网络进行量化分析,首先以多属性决策法计算每个节点重要性,再利用变异系数权重法计算得该节点综合重要性量值,之后划分等级并取标准正域和正域区间,利用可拓关联函数计算每个节点与每个等级的关联度,关联度值最大的等级即为该节点对应等级,最后分析同一社会网络节点在不同时间点的重要性等级变化。可拓聚类方法尝试从动态上对网络节点重要性进行把握,最后通过实例验证了该方法的有效性。  相似文献   

12.
The new method of defuzzification of output parameters from the base of fuzzy rules for a Mamdani fuzzy controller is given in the paper. The peculiarity of the method is the usage of the universal equation for the area computation of the geometric shapes. During the realization of fuzzy inference linguistic terms, the structure changes from the triangular into a trapezoidal shape. That is why the universal equation is used. The method is limited and can be used only for the triangular and trapezoidal membership functions. Gaussian functions can also be used while modifying the proposed method. Traditional defuzzification models such as Middle of Maxima − MoM, First of Maxima − FoM, Last of Maxima − LoM, First of Suppport − FoS, Last of Support − LoS, Middle of Support − MoS, Center of Sums − CoS, Model of Height − MoH have a number of systematic errors: curse of dimensionality, partition of unity condition and absence of additivity. The above-mentioned methods can be seen as Center of Gravity − CoG, which has the same errors. These errors lead to the fact that accuracy of fuzzy systems decreases, because during the training root mean square error increases. One of the reasons that provokes the errors is that some of the activated fuzzy rules are excluded from the fuzzy inference. It is also possible to increase the accuracy of the fuzzy system through properties of continuity. The proposed method guarantees fulfilling of the property of continuity, as the intersection point of the adjustment linguistic terms equals 0.5 when a parametrized membership function is used. The causes of errors and a way to delete them are reviewed in the paper. The proposed method excludes errors which are inherent to the traditional and non- traditional models of defuzzification. Comparative analysis of the proposed method of defuzzification with traditional and non-traditional models shows its effectiveness.  相似文献   

13.
多数社交网络影响力最大化算法的研究只关注于所选种子节点集合的影响力是否最优,忽略网络自身传播影响力的固有能力。本文对网络进行渗流模拟,计算渗流后网络的主连通分量随着传播概率改变的趋势,并且求得主连通分量大小增加开始变快的相变点,从而计算网络自身传播影响力的固有能力。通过相变值与种子节点集合大小的换算,求得当前网络最佳的种子节点集合大小。将种子节点集合大小限制在最佳大小范围内即可获得最佳的影响力。在kareteclub、football、highschool和socdolphins社交网络数据集上进行实验,验证了该方法的有效性。  相似文献   

14.
李程程  王晓云 《软件》2013,(12):186-189
针对目前流行的OpenFlow技术,本文提出OpenFlow的标准进展、商业价值和连通性测试。该方法根据控制层面和转发层面相分离的技术,采用移动研究院内网拓扑进行测试。实验结果表明,通过在BigSwitch controler上进行相关命令配置就可实现二层的OpenFlow交换机互联的不同网段主机的通信。OpenFlow是SDN技术中一种关键的接口协议,SDN是对网络的抽象, OpenFlow是对单个转发面设备的抽象。OpenFlow交换机和Control er的出现为新型互联网(NGN)体系结构的研究提供了实验途径。  相似文献   

15.
简要介绍了销售管理系统的涵义和结构,并讨论报价管理系统的定义和作用。以销售管理系统报价管理子系统的开发为背景,论述了整个系统的开发过程,系统的可行性分析、结构和基本设计。全文共分为引言、系统规划与分析、系统设计、系统实施与运行、结束语五部分。该论文在应用程序的编制中采用了VisualBasic6.0,文中介绍了VisualBasic6.0的特点。最后还对管理信息系统的发展趋势进行了分析和展望。  相似文献   

16.
高分一号卫星4种融合方法评价   总被引:4,自引:0,他引:4  
以国产高分辨率卫星高分一号作为数据源,应用Pansharp融合、HPF融合、Gram-Schmidt融合和SFIM融合4种方法对高分一号卫星2m全色及8m多光谱数据进行了融合试验,并对融合结果的空间信息融入度和光谱保真度进行了评价。选取标准差、熵及联合熵、平均梯度、相对偏差4种客观评价指标对融合结果进行了计算与分析。研究结果表明:对于高分一号卫星,4种方法均显著提高了影像的空间分辨率,同时较好地保留了影像的光谱信息,提高了影像的利用率。其中Pansharp融合综合表现最好,HPF方法边界最为清晰,SFIM方法的光谱保真度最高,GramSchmidt融合在近红外波段效果最好。根据不同的研究目的,使用适宜的融合方法及参数,可以使高分一号卫星影像更好地为生产及科研工作服务。  相似文献   

17.
基于XML的中间层交互技术的研究   总被引:1,自引:0,他引:1  
陆剑江 《微机发展》2004,14(8):30-33
由于HTML自身的不足.所以无法适应Web发展的复杂性和多变性,也不利于机器之间的数据交换和信息传递,通过对XML和HTML作多个角度的对比,文中提出将XML作为载体实现Web上的动态交互。首先从XML的自身特点出发,分析了XML驱动下的Web体系结构,从而得出基于XML的中间层交互技术的实现原理.重点研究了如何设计与XML相匹配的Web数据库,用XML查询数据库的实现方法,以及如何构造从XML到数据库的映射关系,具体包括从XIviL的DTD或者Schema出发来设计数据库的结构或者从数据库本身出发来构造与之相适应的DTD或Schema,最后分析了浏览XML格式信息的诸多策略。  相似文献   

18.
The perception of vehicle ride comfort is influenced by the dynamic performance of full-depth foam used in many vehicle seats. The effects of the thickness of foam on the dynamic stiffness (i.e., stiffness and damping as a function of frequency) of foam cushions with three thicknesses (60, 80, and 100 mm), and the vibration transmitted through these cushions at the seat pan and the backrest were measured with 12 subjects (6 males and 6 females). With increasing thickness, the stiffness and the damping of the foam decreased. With increasing thickness of foam at the seat pan, the resonance frequencies around 4 Hz in the vertical in-line and fore-and-aft cross-axis transmissibilities of the seat pan cushion and the backrest cushion decreased. For the conditions investigated, it is concluded that the thickness of foam at a vertical backrest has little effect on the vertical in-line or fore-and-aft cross-axis transmissibilities of the foam at either the seat pan or the backrest. The frequencies of the primary resonances around 4 Hz in the vertical in-line transmissibility and the fore-and-aft cross-axis transmissibility of foam at the seat pan were highly correlated. Compared to sitting on a rigid seat pan with a foam backrest, sitting with foam at both the seat pan and the backrest reduced the resonance frequency in the vertical in-line transmissibility of the backrest foam and increased the associated transmissibility at resonance, while the fore-and-aft cross-axis transmissibility of the backrest was little affected. Compared to sitting without a backrest, sitting with a rigid vertical backrest increased the resonance frequency of the fore-and-aft cross-axis transmissibility of the seat pan cushion and increased the transmissibility at resonance.Relevance to industryThe transmissibility of a seat is determined by the dynamic properties of the occupant of the seat and the dynamic properties of the seat. This study shows how the thicknesses of foam at a seat pan and foam at a backrest affect the in-line and cross-axis transmissibilities of the foams at the seat pan and the backrest. The findings have application to the design of vehicle seats to minimise the transmission of vibration to the body.  相似文献   

19.
根据高职院校自身教学资源的特点,采用Java EE的轻量级框架技术设计该系统。系统的业务层和表示层通过Struts与Spring的集成完成,数据持久层通过Spring与Hibernate的集成完成,整个系统页面采用Ajax技术。使用SSH框架不仅可以简化系统整个开发过程,同时还极大地增强了系统的可维护性和可扩展性。并且通过使用Ajax技术,也提高了整个系统页面的访问效率。  相似文献   

20.
In this study, we discuss a novel approach to pattern classification using a concept of fuzzy Petri nets. In contrast to the commonly encountered Petri nets with their inherently Boolean character of processing tokens and firing transitions, the proposed generalization involves continuous variables. This extension makes the nets to be fully in rapport with the panoply of the real-world classification problems. The introduced model of the fuzzy Petri net hinges on the logic nature of the operations governing its underlying behavior. The logic-driven effect in these nets becomes especially apparent when we are concerned with the modeling of its transitions and expressing pertinent mechanisms of a continuous rather than an on–off firing phenomenon. An interpretation of fuzzy Petri nets in the setting of pattern classification is provided. This interpretation helps us gain a better insight into the mechanisms of the overall classification process. Input places correspond to the features of the patterns. Transitions build aggregates of the generic features giving rise to their logical summarization. The output places map themselves onto the classes of the patterns while the marking of the places correspond to the class of membership values. Details of the learning algorithm are also provided along with an illustrative numeric experiment.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号