-
安防智能报警系统
安防智能报警系统- Peacefully guards against the intelligence alarm system
- 2022-02-28 13:13:43下载
- 积分:1
-
实现了VB6下的通讯API的封装
实现了VB6下的通讯API的封装
实现了VB6下的通讯API的封装...
实现了VB6下的通讯API的封装
实现了VB6下的通讯API的封装
实现了VB6下的通讯API的封装-实现了VB6下的通讯API的封装
实现了VB6下的通讯API的封装
- 2022-05-19 02:22:48下载
- 积分:1
-
with S7
用S7-200PLC的自由口模式和VB中的MSComm控件方便地实现了计算机与S7-200(CPU224)PLC的通讯。计算机作为主站,用户通过计算机可以方便地设置房间的控制指令并向PLC发出控制或监测命令, PLC作为从站来响应计算机发送的指令并采取相应的动作并将房间的电、水、热信息发回到计算机。用户可以通过电脑屏幕实时地监视到房间的电、水、热信息并进行相应的处理。-with S7-200PLC the Free Port Mode and the VB MSComm to realize a trap Computer and S7-200 (CPU224) PLC communications. Computer as a master station, Computer users can easily set up control rooms PLC issued directives to control or monitoring orders, PLC as from the station to respond to orders sent by the computer and take corresponding action will be room for electricity, water, Heat fat information to the computer. The user can screen real-time surveillance of the room electricity, water and heat information and handled accordingly.
- 2022-11-27 17:10:03下载
- 积分:1
-
一个用VB实现的串口通讯的例子,在按16进制发送的程序中很在参考价值...
一个用VB实现的串口通讯的例子,在按16进制发送的程序中很在参考价值-a VB serial communications, for example by sending the 16-band procedure is the reference value
- 2022-01-26 00:15:13下载
- 积分:1
-
本程序包括一组子程序和中断程序,通过S7
本程序包括一组子程序和中断程序,通过S7-200自由端口功能来产生从Modbus RTU. 它支持下列Modbus功能:----1.读输出(线圈)----2.读输入(触点)----3.读保持寄存器(V 存储器).----4.读输入寄存器----5.写单路输出----6.写单路保持寄存器----15.写多路输出----16.写多路保持寄存器-this includes a subroutine and the interruption procedure for the adoption of the S7-200 free port functions to generate from the Modbus RTU. It supports the following functions : a Modbus. Reading output (2) coil. Reading input (contact)---- 3. Reading maintain registers (V memory ).---- 4. Reading input register---- 5. write single-output---- 6. write to maintain the single-route Register---- 15. write multiple output---- 16. write multiple maintain registers
- 2022-09-13 08:20:03下载
- 积分:1
-
这是一个用visual C++编写的用于调试和单片机通讯的串口通讯程序。...
这是一个用visual C++编写的用于调试和单片机通讯的串口通讯程序。-This is a visual C with the preparation for debugging and communication microcontroller serial communication procedure.
- 2023-04-01 00:15:03下载
- 积分:1
-
本文详细介绍IC 制造工艺流程,IC封装测试方法, 企业总结核心技术资料,非常有用....
本文详细介绍IC 制造工艺流程,IC封装测试方法, 企业总结核心技术资料,非常有用.-This paper describes IC manufacturing processes, IC packaging and testing methods, summing up the core of enterprise technical information, very useful.
- 2023-07-02 19:05:03下载
- 积分:1
-
linux epoll模型
该代码是关于在linux平台下的网络编程,epoll模型,socket接受线程:C语言为了高并发所以选择了epoll。当程序启动的时候(g_net_update.c文件中main函数,会启动一个thread见函数create_accept_task)这个thread就处理一件事情,只管接收客户端的连接,当有连接进来的时候 通过epoll_ctl函数,把socket fd 加入到epoll里面去,epoll设置监听事件EPOLLIN | EPOLLET; 主要是监听的是加入到epoll中的socket是否可读(因为我的需求是客户端连上了server就会马上向server发送一份数据的)。其它的部分在主线程中处理。主线程:是一个无线循环,epoll_wait 函数相当于把客户端的连接从epoll中拿出来(因为我们监听的是EPOLLIN | EPOLLET)说明这个时候客户端有数据发送过来)。再通过recv_buffer_from_fd 函数把客户端发送过来的数据读出来。然后其他的一切就抛给线程池去处理。线程池:(代码中我会在池里面创建15个线程) 双向链表。加入线程就是在链表后面加一个链表项,链表的前面会一个一个被拿出来处理。主要是malloc 函数free函数,sem_wait函数sem_post的处理(sem_wait 会阻塞当值大于0是会减一,sem_post是值加一)。typedef void* (FUNC)(void arg, int index);是我们自定义的线程的逻辑处理部分,arg是参数,index是第几个线程处理(我们隐形的给每个线程都标了号),例如代码中的respons_stb_info,更加具体可以看看代码里面是怎么实现的。聪明的你也可以改掉这块的内容改成动态线程池,当某个时刻的处理比较多的时候能够动态的增加线程,而不像我代码里面的是固定的。数据库连接池:按照我的需求在处理客户端请求数据的时候是要访问数据库的。就是一下子创建出一堆的数据连接。要访问数据库的时候先去数据库连接池中找出空闲的连接,具体可以看下代码。使用的时候可以参考下database_process.c文件(代码中数据库连接池和线程池中的个数是一样的)。
- 2022-03-20 03:15:54下载
- 积分:1
-
一个功能齐全的串口通讯类及实例(VC)
一个功能齐全的串口通讯类及实例(VC)-A fully functional categories and examples of serial communication (VC)
- 2022-03-13 03:30:10下载
- 积分:1
-
Visual Basic 自动化系统监控源代码 第五章
Visual Basic 自动化系统监控源代码 第五章-Visual Basic自department conduct anti-hsiung Chiu Tai tong satirical Tungsten measurements Um WHO Limited
- 2022-03-25 21:39:15下载
- 积分:1