登录
首页 » Com Port » Through rs232, send a message to the other end, you can open the port, check to...

Through rs232, send a message to the other end, you can open the port, check to...

于 2022-04-26 发布 文件大小:361.10 kB
0 196
下载积分: 2 下载次数: 1

代码说明:

通过rs232,发送一条消息到另一端,可以打开端口,检查打开后才输入消息。

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

发表评论

0 个回复

  • 是关于金电电源通信规约的串口通信程序,功能是把电源监控器的采集数据上送到规约前置机中。...
    是关于金电电源通信规约的串口通信程序,功能是把电源监控器的采集数据上送到规约前置机中。-GOLD comunication rule
    2022-01-31 22:14:10下载
    积分:1
  • 这个是用串口下载文件到交界处单片机的代码,而且可以用单片机接收数据用于显示,我们自己使用的工具的...
    这个是用串口下载文件到交界处单片机的代码,而且可以用单片机接收数据用于显示,我们自己使用的工具的-serial download files to the junction of microcontroller code, and SCM can be used for receiving data, we use the tools
    2022-01-26 01:34:54下载
    积分:1
  • Delphi编写的串口测试程序,适合测试计算机串口好坏!
    Delphi编写的串口测试程序,适合测试计算机串口好坏!-Delphi serial test procedure for the testing of computer Serial good or bad!
    2022-09-12 03:35:03下载
    积分:1
  • USBDC system
    众志-863系统芯片 USBDC(univer serial bus devce control通用串行总线设备控制芯片,以下简称USBDC)是和带有USB主机控制器的设备进行通信的支持部件,实现和带有USB主机控制器的设备进行数据交换。 USBDC和APB连接进行寄存器的初始化配置,和DMAC连接进行大量的数据交换。-USBDC system-on-chip (Univer serial bus control devce Universal Serial Bus device control chips, hereinafter referred USBDC) and USB host controller with the communications equipment of support components, to achieve and with a USB host controller equipment for data exchange. USBDC and APB connection configuration register initialization, and DMAC link for the exchange of large amounts of data.
    2022-02-13 22:46:32下载
    积分:1
  • GOLD comunication rule
    是关于中达电源通信规约的串口通信程序,功能是把电源监控器的采集数据上送到规约前置机中。-GOLD comunication rule
    2022-04-11 13:49:57下载
    积分:1
  • 串行通信接口标准经过使用和发展,目前已经有几种。但都是在RS...
    串行通信接口标准经过使用和发展,目前已经有几种。但都是在RS-232标准的基础上 经过改进而形成的。所以,以RS-232C为主来讨论。RS-323C 标准是美国EIA(电子工业联合 会)与BELL等公司一起开发的1969 年公布的通信协议。它适合于数据传输速率在0~ 20000b/s 范围内的通信。这个标准对串行通信接口的有关问题,如信号线功能、电器特性 都作了明确规定。由于通行设备厂商都生产与RS-232C制式兼容的通信设备,因此,它作为 一种标准,目前已在微机通信接口中广泛采用。-Serial communication interface standard through the use and development, now has several. However, in the RS-232 standard on the basis of an improved formed. So to the main RS-232C for discussion. RS-323C standard is the United States EIA (Electronics Industry Association) and BELL, such as the development of the company in 1969 with the publication of the communication protocol. It is suitable for data transfer rate at 0 ~ 20000b/s within the scope of communication. The standard serial communication interface of the relevant issues, such as signal line features, electrical characteristics have been clearly defined. Because of prevailing production and equipment manufacturers have standard RS-232C compatible communications equipment, t
    2022-02-01 11:07:15下载
    积分:1
  • ICAN协议例程,CAN转换成RS232 ICAN协议例程,CAN转换成RS232
    ICAN协议例程,CAN转换成RS232 ICAN协议例程,CAN转换成RS232-ICAN agreement routines, CAN convert RS232ICAN routines Agreement, CAN convert RS232
    2022-12-23 14:30:03下载
    积分:1
  • 随着视窗98的推出,越来越多的计算机用户都习惯于使用无线网络…
    随着Windows98的推出,越来越多的微机用户已习惯于Windows操作系统。不过Windows应用软件的开发对于一般工程技术领域的技术人员来说并非易事,然而使用微软的VisualBasic6.0(简称VB6)来开发这些方面的Windows应用软件就十分方便,编程工作量相对较小,只需进行主要应用功能的编程和少量界面控制的编程。本文介绍利用VB6串行通信编程的方法对采用了RS-232接口的仪器,进行串行通信的计算机测控软件开发和实现仪器功能和指标的验收。-With the launch of Windows 98, more and more computer users are accustomed to Windows. But Windows application software development for the general area of engineering and technology and technical personnel is not easy, but to use Microsoft Visual Basic 6.0 (VB6) to the development of these applications on Windows is very convenient, programming workload is relatively small, only major applications programming a small amount of control and interface programming. This paper describes the use of VB6 serial communication programming method used to the RS-232 devices, serial communication control computer software development and the achievement of equipment functions and targets of acceptance.
    2022-06-27 15:20:46下载
    积分:1
  • dephi achieve RS232 serial communication. This process requires an RS232 serial...
    dephi实现RS232串口通信。本程序需要一根RS232串口线连接两个串口实现。本程序包括两个部分:发送端和接收端,分别打开两个文件夹里名为SerialPortCom.exe的程序,在发送端输入数据,然后就可以在接收端看到发送端输入的数据。-dephi achieve RS232 serial communication. This process requires an RS232 serial link two Serial Port. This program consists of two parts : the sender and the receiver, respectively, opened two folder called SerialPortCom.exe procedures, the transmitter input data and then on the receiving end can see the transmitter input.
    2022-03-31 01:49:10下载
    积分:1
  • 从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的...
    从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收到一个消息后,一段时间没收到下一个EV_RXCHAR,就认为是一个数据包的结束。这个线程就会通知数据接收线程,进行数据接收。一般同一包数据,两个字符之间的时间间隔,应该很小了吧,而两个数据包之间的间隔,应该不会太小吧!(这个地方我不清楚,猜的:( :) )最后一个线程,是接收数据的。-read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data reception, the first method is a variant : an interception EV_RXCHAR, one pair of EV_RXCHAR analys
    2023-03-23 09:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载