-
VC_MFC-Sample1
Microsoft Visual C++ MFC串口通信编程详解,主要介绍了用CreateFile()函数和WriteFile()函数读写串口的实例,以及设置
串口属性的实例.
在工业控制中,工控机(一般都基于 Windows 平台)经常需要与智能仪表通过串口
进行通信.串口通信方便易行,应用广泛.
一般情况下,工控机和各智能仪表通过 RS485 总线进行通信.RS485 的通信方式是
半双工的,只能由作为主节点的工控 PC 机依次轮询网络上的各智能控制单元子节点.
每次通信都是由 PC 机通过串口向智能控制单元发布命令,智能控制单元在接收到正
确的命令后作出应答.
(Microsoft Visual C++ MFC serial communication programming explain CreateFile () and WriteFile () function to read and write the serial port of the instance, and set the serial port attribute instance in industrial control, IPC (generally based on the Windows platform) often need to communicate with the smart meter through the serial port serial communication easy and widely used normal circumstances, the IPC and intelligent instrument through RS485 communication RS485 communication is half-duplex, only as the primary node industrial PC turn polling network intelligent control unit child nodes. every communication from a PC via the serial port to issue commands to the intelligent control unit, intelligent control unit receives the correct command response.)
- 2012-10-11 07:23:02下载
- 积分:1
-
在VC++6.0中用MSComm控件编程,可以实现串口接
在VC++6.0中用MSComm控件编程,可以实现串口接(used in VC 6.0 MSComm programming, serial port access can be achieved)
- 2005-01-04 04:01:12下载
- 积分:1
-
ComRegist2000
这是一个用VC编写的MSCOMM控件的注册安装示例工程源代码,对于单片机的上位机软件开发是一个不错的小工具(This is a prepared using VC control register MSCOMM sample project to install the source code for the MCU PC software development is a good gadget)
- 2007-09-23 13:37:38下载
- 积分:1
-
ourdev_598464
DMX 512协议是Digital Multiplex的缩写,是灯光行业数字化设备的通用信号控制协议,同时也是是一种国际协议。 USITT DMX512/1990是调光和灯光控制台数据传输标准,是娱乐灯光领域常用的控制协议。以前0-10V模拟控制用的比较多,现在DMX512是娱乐灯光行业最主要的控制协议。USITT DMX512/1990是由美国剧场技术协会USITT提出的。最原始的版本出版于1986年,在1990年做了修改。 (DMX 512 protocol is short for Digital Multiplex is light industry, general-purpose digital signal device control protocol, but also is an international agreement. USITT DMX512/1990 is dimming and lighting control data transmission standard, is commonly used in the field of entertainment lighting control protocol. 0-10V analog control previously used more, now is the entertainment lighting industry, the main DMX512 control protocol. USITT DMX512/1990 by the American Association of Theater Technology USITT s. The original version published in 1986, was revised in 1990.)
- 2011-12-02 15:44:06下载
- 积分:1
-
BTC
wimax802.16e中的BTC编码仿真程序(WiMAX 802.16e in the BTC coding simulation program)
- 2020-11-06 11:29:50下载
- 积分:1
-
CRC
Sample code in VB.NET for calculate and check CRC (Modbus specification).
Supported both string format (like MSComm) and bytes array(like DCB).
- 2010-03-10 23:25:16下载
- 积分:1
-
SPMS_deal
SPMS deal 模块,SPMS deal 模——(SPMS deal 模块)
- 2013-11-08 20:57:16下载
- 积分:1
-
SUMPLE
非均匀天线组阵SUMPLE权值信噪比及信号合成性能分析(Non-uniform antenna arraying SUMPLE weights SNR performance analysis and signal synthesis)
- 2013-12-20 13:31:43下载
- 积分:1
-
ModbusCommunicationTest
MODBUS通信协议,用VC6.0调试通过,非常好用,做上位机用这个很好(MODBUS communication protocol with VC6.0 debugging through, very easy to do well with this PC)
- 2013-09-11 23:12:54下载
- 积分:1
-
MATLAB
接收端采用的算法和程序流程与发送端发送的OFDM符号的帧结构有关系。具体的帧结构,以及定时估计,频偏估计,剩余误差跟踪的算法可参考算法说明文档。这里对程序的流程进行说明。
首先根据短训练字的特性进行相关运算,进行信号到达检测,当检测到相关值大于门限一定次数后,认为有信号到达。然后根据长训练字的特性,进行相关运算,进行OFDM符号FFT窗口起始位置的估计。估计出FFT窗口的位置后,先在时域进行小频偏的估计,将两个长训练字进行小频偏补偿后,进行FFT运算,根据FFT运算的结果进行整数倍频偏的估计。这些参数估计完成后,就可以进行数据解调了。先对数据部分进行完整的频偏补偿,然后根据估计的FFT窗口位置进行FFT运算得到频域的数据,进行解调。然后在对应于导频的子载波位置上提取出导频信息,根据导频信息估计出剩余定时误差以及剩余的信道响应误差,将误差量送入环路进行跟踪。当收到所有数据后,重新回到信号到达检测状态,进行下一次信号到达的检测和信号接收。
(good)
- 2020-11-04 23:49:52下载
- 积分:1