登录
首页 » C++ » sampleCom

sampleCom

于 2013-08-02 发布 文件大小:20KB
0 266
下载积分: 1 下载次数: 11

代码说明:

  封装了windows操作串口的几个API(CreateFile, ReadFile,WriteFile,SetComState)。串口的读写设置这几个操作都可以简单地只用关键一两个参数就能实现操作。也是一个很好的例子,我写这个之前查了不少资料,感觉非常麻烦,索性发出来给新手们作个样例(Windows serial COM port access class,it includes CreateFile, SetComState,ReadFile,WriteFile,CloseFile)

文件列表:

spcom
.....\sampleCom.cpp,9685,2013-07-08
.....\sampleCom.h,1486,2013-07-08

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

发表评论

0 个回复

  • Optisystem中MatlabComponent模块的扩展应用
    通过一个光相位调制器的实例,介绍利用Optisystem 中Matlab Component组件联合M atlab实现用户自定义光学组件的方法。对相位调制基本原理、相位调制器理论模型和实现模型的Matlab代码进行分析,介绍如何将用户自定义器件功能代码关联Matlab Component组件进行仿真,并利用自定义的相位调制器对理论分析进行验证。(Through an example of an optical phase modulator, this paper introduces the method of implementing user-defined optical components by using Matlab Component component in Optisystem combined with M atlab. The basic principle of phase modulation of the phase modulator, theoretical model and implementation model of Matlab code analysis, describes how to simulate the user device function code associated Matlab Component components, and the theoretical analysis was verified by using custom phase modulator.)
    2020-11-28 11:49:28下载
    积分:1
  • 盘形凸轮理论轮廓和实际轮廓的绘制
    盘形凸轮理论轮廓和实际轮廓的绘制,包括滚子(Drawing of theoretical and actual contours of disc cam)
    2020-06-20 04:40:01下载
    积分:1
  • H infinite transfer alignment
    从实际应用的角度出发,提出利用跟踪微分滤波器抑制机冀挠曲变形产生的影响,通过杆臂效应补偿消 除干扰加速度,用延时补偿算法减少由数据传输延迟造成的量测信息误差。在此基础之上,采用“速度+姿态” 匹配方案,研究了基于H_滤波估计的快速传递对准方法.大量数值仿真、静态试验、动态跑车试验表明,这 些方法有收敛速度较快、精度较高的特点,并t,有较强的抗干扰能力。试验也验证了传递对准方法的有效、可 行,能满足控制系统对导航信息的精度要求. ()
    2008-04-02 19:08:00下载
    积分:1
  • 基于AM335X平台的Ethercat实现.pdf
    说明:  EtherCAT(以太网控制自动化技技)是一种用于确定性以太网的高性能技业通信协议,它扩展了IEEE 802.3 以太网标准,使得数据传输中具有可预测性定时及高精度同步等特点。这个开放性标准作为 IEC 61158 的组成部分,常用于机械设计及运动控制等应用中。EtherCAT 采用标准的IEEE802-3 以太网帧,帧结构如图 1。EtherCAT 协议直接用标准以太网的帧格嵌传输数据,并不修改其基本结构(ethercat communication)
    2019-04-19 14:00:20下载
    积分:1
  • ldpc-ofdm
    communication related file
    2011-12-28 18:01:35下载
    积分:1
  • aliasingfilter
    1)设计Butterworth型音频抗混叠滤波器; 2)参数: 下通带频率300Hz;上通带频率3400Hz; 下阻带频率280Hz;上阻带频率3600Hz; 通带最大衰减0.3dB; 阻带最小衰减40dB; 3)采用一低通滤波器和一高通滤波器级联; 4)分别确定LPF和HPF的性能指标; 5)求出两滤波器的系统函数和频率响应,并画出其幅频特性曲线; 6)求整个滤波器的系统函数和频率响应,并画出其幅频特性曲线。(1) the design of Butterworth-type audio anti-aliasing filter 2) parameters: passband frequency of 300Hz on pass-band frequency 3400Hz under the stop-band frequency of 280Hz on stop-band frequency 3600Hz passband maximum attenuation of 0.3dB minimum stopband attenuation of 40dB 3) the use of a low-pass filter and a high-pass filter cascade 4) separately to determine the performance of LPF and HPF target 5) to derive two-filter system function and frequency response, and draw its increase frequency characteristic curve 6) for the entire filter system function and frequency response, and draw its amplitude-frequency characteristic curve.)
    2009-04-08 22:56:06下载
    积分:1
  • bellhopchannel
    该程序为bellhop多径信道模型,其通信距离为5KM(The procedure for the bellhop multipath channel model, the communication distance of 5KM)
    2020-11-16 21:29:42下载
    积分:1
  • modulator
    基于单芯电缆的多载波技术,FPGA,OFDM通信程序,调制解调器,调制模块(Multi-carrier technology based on the single-core cables, the FPGA, the OFDM communication program, the modem modulation module)
    2013-01-06 21:24:31下载
    积分:1
  • panxingtulun
    说明:  盘形凸轮理论轮廓和实际轮廓的绘制,包括滚子(Drawing of theoretical and actual contours of disc cam)
    2020-06-20 04:40:01下载
    积分:1
  • ziliao
    认知无线电中频谱感知的方法,基于能量检测的算法和仿真(energy detection)
    2017-04-12 12:02:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载