登录
首页 » Others » RTX与Windows进程通信(互斥对象+共享内存)

RTX与Windows进程通信(互斥对象+共享内存)

于 2020-12-05 发布
0 484
下载积分: 1 下载次数: 1

代码说明:

本实例完成RTX与Windows进程通信,包含两个工程:1、Windows MFC 程序,创建共享内存,并可完成对共享内存的读写操作;2、RTX进程通过读共享内存完成通信。开发环境:MS VS2005。参考资料: RTX Help文档。推荐资料:博客http://wzhyblog.yo2.cn/articles/tag/rtx

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CentOS 6.x和7.x上安装 Oracle 11g R2所需rpm依赖包
    包含所有centos6.x和centos7.x安装Oracle11gR2的RMP文件。我为了这东西也是绞尽脑汁,本想免费提供出来的。资源分数最低要填写1,就没有办法了。binutils-2.20.51.0.2-5.36.el6.x86_64.rpmbinutils-devel-2.20.51.0.2-5.36.el6.x86_64.rpmcloog-ppl-0.15.7-1.2.el6.x86_64.rpmcompat-libstdc++-33-3.2.3-69.el6.x86_64.rpmcpp-4.4.7-4.el6.x86_64.rpmelfutils-libelf-0.15
    2021-05-06下载
    积分:1
  • 模型预测控制(model predictive control)
    模型预测、自动控制领域大牛Alberto Bemporad的博士课程讲义,内容为MPC模型预测控制,讲解了MPC的基本概念,线性系统的MPC理论
    2020-12-12下载
    积分:1
  • Matlab车牌定位源代码
    是关于车牌定位的Matlab源代码,利用的是边缘检测定位方法,最终定位得到车牌图像。
    2020-12-02下载
    积分:1
  • 基于优化的ADRC在异步电机矢量控制系统中的应用研究
    基于优化的ADRC在异步电机矢量控制系统中的应用研究,论文深入研究matla/simulink环境下,死去何和窄脉冲消除
    2020-12-08下载
    积分:1
  • 哈理工大电机学习(很全)
    电机学习题库,做完绝对变成电机学高手,总共有六章,还有答案
    2020-12-11下载
    积分:1
  • JAVA制造业MES生产管理源码
    JAVA制造业MES生产管理源码,源代码,包括数据库sql安装文件,安装说明
    2020-12-05下载
    积分:1
  • 基于matlab-GUI简易计算器的设计
    matlab GUI设计
    2020-11-29下载
    积分:1
  • 关于模糊C-均值(FCM)聚类算法的改进
    关于模糊C-均值(FCM)聚类算法的改进关于模糊C-均值(FCM)聚类算法的改进∑∑md2(x1,v,)离有变化,即(1)式中改为(,)=|P)(x;-v大连大学学报其中W为模糊加权因子,由式(5)确定。在模糊¢一均值算法中引入模糊加权因4子,使得数据空间中各个数据点对同一橐类中心所具有的特征优势不同,导致对距离的贡献也不同,更具合理性,使得聚类效果更好,分类更清晰,改进数据预处理的方法。4数据仿真结果将200个二维数据分为三类。使用了两种方法,本文提出的改进的模糊聚类算法(引入了模糊加权因子),结果见图2;经典的模糊C-均值聚类算法6,结果见图3对比聚类效果图如通过对比两种算法的效果图可以看出:图图3FCM聚类效果图2是改进后的模糊聚类算法(引入了模糊加权刈比目标函数曲线如下因子)的效果图,聚类效果比图3经典的模糊C均值聚类算法更好,数据点更集中,有若干点集中在聚类中心上。我们可以看右下角的数据点,改进后的模糊聚类算法将紫色的点和蓝色的点能清楚的分开,两个类之间的界限很明显而模糊C-均值算法分类的程度就不是很清晰,分别属于两个类的绿色的点和紫色的点几乎重合,可见类与类之问划分不清晰。图4改进算法后的目标函数图图2改进算法后的聚类效杲图喷笔签义,引入了重要参数-模糊加权因子,模糊加权因子的引入,使得数据空间中各数据点所具有的特大连大学学征优势不同,导致对距离的贡献也不同,这是两种距离定义方法的根本区别之处。并且用数据仿真验证了这种改进了的模糊聚类算法比原来的算法聚类更有效,分类更清晰,速度快。参考文献O一0年第五期[l} Timothy J.Ros.模糊逻辑及其工栏应用[M].北京:电子工业出版社,20032]鲁宇,范希鲁.模糊加权距离及其合理性讨论[J].北方交通大学学报,1990(2)[3]王士同、神经模糊系统及其应用[M].北京:北京航天航空大学出版社,1998(6)图5FCM目标函数图T 4 1 Kazutaka Umuyaharu, Saclaaki MiyarIulo and Yoshiteru图4的是改进算法后的目标函数图(引入模糊Nakamori, Formulations of Fuzzy Clustering for Categorical加权因子),图5是经典的模糊C-均值算法目Data, International Journal of Innovative ComputingInformation and Control(lICIC), vol 1, no, 1, pp 83标函数图。可以看出图4的函数曲线比图5的函94,2005(3)数曲线更加平滑,收敛速度快。[5 Hugang Han, Information System with Fuzzy Weights5结论Intermational Journal of Innovative Computing, Information本文讨论的是对模糊C-均值聚类算法的改and Control JICIC ) vol. 2, no 3, pp 553-565, 2006进,在原有的模糊C-均值算法的基础上,用一种6]吴晓莉,林哲辉.MAⅣLAB埔助模湖系统设计[M.西安:新的定义距离的方法替代欧氏空间中距离的定西安电子科技大学出版社,2002.Improvement of the Fuzzy C-Means Clustering AlgorithmWANG Ying-jie Wang, BAI Feng-bo, WANG Jin-hui(1. College of Information Engineering, Dalian University, Dalian, 116622, China2. MSPD, HiSoft Technology Intemational Ltd., Beijing, 100074, China3. Beijing Electromechanical Engineering Insitute, Beijing, 100074, ChinaAbstract: An improvement algorithm about the fuzzy c-means clustering algorithm is discussed in this paper. Basedon original fuzzy c -rneans clustering algorithm, the improvement algorithm uses a new way of defining distance todisplace the distance in Euclidean space. Experimental results show that the improvement algorithm is better thanal algurithm and the classification is clearer than original algKey words Fuzzy c-means algorithm; Fuzzy weighted distance; Fuzzy weighted factor
    2020-12-07下载
    积分:1
  • OpenCV C++完整的车牌识别系统.rar
    使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)1)位图信息的数据是从左下往右下为一行,一行一行往上排的。2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。5)程序执行流程应用程序生成--》打开--》CDipView的OnFileOpen 函数--》调用CDipDoc的FileOpen 函数--》并使用my
    2020-07-02下载
    积分:1
  • 平面变压器3D仿真资料
    采用COMSOL软件,对平面变压器的仿真过程进行叙述,让大家了解平面变压器的仿真流程,是个很好的指导教材Solved with COMSOL Multiphysics 5.0Results and discussionThe magnetostatic analysis yields an inductance of 0. 1l mH and a dc resistance of0. 29 mQ2. Figure 2 shows the magnetic flux density norm and the electric potentialdistributionvolume: Coil potentiaL()Volume: Magnetic flux density norm (t▲0.07▲2.88×10-42.51.50.03050.01V656×107v0igure 2: Magnetic flux density norm and electric potential distribution for themagnetostatic analysisIn the static (DC) limit, the potential drop along the winding is purely resistive andcould in principle be computed separately and before the magnetic flux density iscomputed. When increasing the frequency, inductive effects start to limit the currentand skin effect makes it increasingly difficult to resolve the current distribution in thewinding. At sufficiently high frequency, the current is mainly flowing in a thin layernear the conductor surface. When increasing the frequency further. capacitive effectscome into play and current is flowing across the winding as displacement currentdensity. When going through the resonance frequency, the device goes from behavingas an inductor to become predominantly capacitive. At the self resonance, the resistivelosses peak due to the large internal currents Figure 4 shows the surface current3 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.0distribution atl MHz. Typical for high frequency the currents are displaced towardsthe edges of the conductor.freq(1)=1.0000E6_Surfaee: Surface-current density norm (A/)▲18618Q16010¥1.02Figure 3: Surface current density at I MHz (below the resonance frequency)Figure 4 shows how the resistive part of the coil impedance peaks at the resonancefrequency near 6MHz whereas Figure 5 shows how the reactive part of the coiimpedance changes sign and goes from inductive to capacitive when passing throughthe resonance4 MODELING OFA3DINDUCTORSolved with COMSOL Multiphysics 5.0Global: Lumped port impedance(Q2)d port impedance7.5G6.583275655545352510.10.20.30.40.509igure 4: Real part of the electric potential distribution5 MODELING OF A INDUCTORSolved with COMSOL Multiphysics 5.0Global: Lumped port impedance(Q2)35000Lumped port impedance200001000050000500010000-1500020000250000.10.20.30.40.50.60.70.809Figure 5: The reactive part of the coil impedance changes sign hen passing through theresonance frequency, going from inductive to capacitiveModel library path: ACDC_Module/Inductive_ Devices_and_coils/inductor 3dFrom the file menu. choose newNEWI In the new window click model wizardMODEL WIZARDI In the model wizard window click 3D2 In the Select physics tree, select AC/DC> Magnetic Fields(mf)3 Click Add4 Click StudyMODELING OF A3D NDUCTORSolved with COMSOL Multiphysics 5.05 In the Select study tree, select Preset Studies>StationaryGEOMETRYThe main geometry is imported from file. Air domains are typically not part of a CaDgeometry so they usually have to be added later. For convenience three additionaldomains have been defined in the CAd file. These are used to define a narrow feed gapwhere an excitation can be appliedport l(impl)I On the model toolbar, click Import2 In the Settings window for Import, locate the Import section3 Click Browse4 Browse to the models model library folder and double-click the filenductor 3d. mphbinSphere /(sphl)I On the Geometry toolbar, click Sphere2 In the Settings window for Sphere, locate the Size section3 In the Radius text field, type 0.2ick to expand the Layers section. In the table, enter the following settingsLayer nameThickness(m)ayer0.055 Click the Build All Objects buttonForm Union(fin)i On the Geometry toolbar, click Build AllClick the Zoom Extents button on the Graphics toolbar7 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.03 Click the Wireframe Rendering button on the Graphics toolbarThe geometry should now look as in the figure below0.1-0.10.20.0.0.1y0.0.2Next, define selections to be used when setting up materials and physics Start bdefining the domain group for the inductor winding and continue by adding otheruseful selectionsDEFINITIONSExplicitI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Winding3 Select Domains 7,8 and 14 onlyI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Gap3 Select domain 9 onlI On the Definitions toolbar, click Explicit8 MODELING OF A3DINDUCTORSolved with COMSOL Multiphysics 5.02 In the Settings window for Explicit, in the Label text field, type core3 Select Domain 6 onlyExplicit 4I On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type InfiniteElements3 Select Domains 1-4 and 10-13 onlyExplicit 5I On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Non-conducting3 Select Domains 1-6 and 9-13 onlyI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Non-conductingwithout Ie3 Select Domains 5, 6, and 9 only.Infinite Element Domain /(iel)Use infinite elements to emulate an infinite open space surrounding the inductorI On the definitions toolbar click Infinite element domain2 In the Settings window for Infinite Element Domain, locate the Domain Selectionsection3 From the Selection list. choose Infinite Elements4 Locate the Geometry section From the Type list, choose SphericalNext define the material settingsADD MATERIALI On the Model toolbar, click Add Material to open the add Material window2 Go to the Add material window3 In the tree, select AC/DC>Copper.4 Click Add to Component in the window toolbar9 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.0MATERIALSCopper(mat/)I In the Model Builder window, under Component I(comp l)>Materials click Copper(matD)2 In the Settings window for Material, locate the Geometric Entity Selection section3 From the Selection list, choose windingADD MATERIALI Go to the Add Material window2 In the tree. select built-In>Air3 Click Add to Component in the window toolbarMATERIALSAir(mat2I In the Model Builder window, under Component I(comp l)>Materials click Air(mat2)2 In the Settings window for Material, locate the Geometric Entity Selection section3 From the Selection list, choose Non-conductingThe core material is not part of the material library so it is entered as a user-definedmateriaMaterial 3(mat3)I In the Model Builder window, right-click Materials and choose Blank Material2 In the Settings window for Material, in the Label text field, type Core3 Locate the geometric Entity Selection section4 From the selection list choose Core5 Locate the Material Contents section. In the table, enter the following settingsPropertName Value Unit Property groupElectrical conductivity sigma0S/IBasicRelative permittivity epsilonrBasicRelative permeability mur1e3Basic6 On the model toolbar. click Add Material to close the Add Material windowMAGNETIC FIELDS (MF)Select Domains 1-8 and 10-14 only0MODELING OF A 3D INDUCTOR
    2020-12-10下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载