-
OPC服务器程序,可接受来自服务器的数据
OPC服务器程序,可接受来自服务器的数据-OPC server programming,can recieve data comes from server.
- 2022-03-22 11:03:38下载
- 积分:1
-
PCI
pci-1716 DMA 模拟输入-pci- 1716 analog input DMA
- 2022-01-22 01:51:52下载
- 积分:1
-
VC环境下USB读写设计
我们如果想实现一个USB 的HID 类设备,不需要在Windows 下开发自己的驱动程序。HID不一定要是标准的外设类型,唯一的要求是交换的数据存储在报文的结构内,设备固件必须支持报
文的格式。任何工作在该限制之内的设备都可以成为一个HID,例如温度计、电压计、读卡机等。报文的格式是由报告描述符决定的,所以只要修改描述符就能实现我们需要的报文格式。下面
我们来实现一个简单的报文格式:上位机发送固定64 字节数据给设备,这个数据可以是命令,也可是数据,具体含义并不是由报告描述符来决定的,是由开发人员事先约定好的。设备返回的数据
也是64 个字节,同样这个数据流的每个字节(甚至每个位)的具体含义由开发人员事先约定好。本设计 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报 打分 发表评论 暂无评论
- 2022-02-15 09:04:41下载
- 积分:1
-
this file is about communication engineering
Digital Transmission System...
this file is about communication engineering
Digital Transmission System
this is a .m file to simulate a signal and noise ratio which the signal is NRZ bipolar signal and the noise is gaussian noise
it will plot the error probability
- 2022-02-15 17:09:31下载
- 积分:1
-
Graphics when used in the treatment of the division, and directly editing the di...
在处理图形时用于除法的进行,直接编辑出除法来-Graphics when used in the treatment of the division, and directly editing the division to
- 2022-07-10 04:37:27下载
- 积分:1
-
在VC,MFC中显示图像,如GIF,JPEG等格式
在VC,MFC中显示图像,如GIF,JPEG等格式-in VC, MFC showed images such as GIF, JPEG format, etc.
- 2022-02-14 16:47:38下载
- 积分:1
-
the sample best file for C or C++
the sample best file for C or C-the sample best file for C or C++
- 2022-08-05 12:55:29下载
- 积分:1
-
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大...
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大家可以在本机上测试,自己传文件给自己)。所以,我们在程序中需要使用两个Winsock控件,一个负责监听,一个负责发送,当发送端连接成功以后,便选择一个待发送的文件(可以是任意二进制文件),接着将文件名和文件字节长度发送给接收端,接收端收到这个消息以后,将文件名和文件长度解析出来,然后通知发送端可以开始发送文件;发送端读到这个消息之后,将文件流以字节的形式发送到接收端,接收端收到后,将二进制流回写,保存成文件即可。这里要注意两点,一个是由于Winsock每次最大传输8K的内容,所以需要将文件分解,每次传输固定数目的字节流,这样发送和接收时都可以根据这个数目来判断文件传输的进程,一旦字节流数目等于文件的大小,就需要关闭相应的文件句柄;另一点是由于我只使用一个Winsock控件接收,接收文本时需要注意要将UNICODE转码,解析成可识别的信息。
-LAN file transfer to uniform design and user convenience, we hope it will end service and client together and form a process so that users understand, a more intuitive 1:00 (in fact, do so in order to facilitate debugging, you can test the machine, its own text- items for himself). Therefore, we need procedures in the use of two Winsock Control, a charge of wiretapping, a charge of this, when the transmitter connects successfully, it will be a choice to send the document (can be arbitrary binary files), will then file names and the
- 2022-04-14 22:25:12下载
- 积分:1
-
windows服务实例 Service windows服务实例 Servicewindows服务实例 Service
windows服务实例 Service windows服务实例 Servicewindows服务实例 Service-Examples of windows service Service windows service instance Servicewindows service instances Service
- 2022-08-20 10:21:48下载
- 积分:1
-
再上传三角网生成算法。
再上传三角网生成算法。-upload triangulation generation algorithm.
- 2022-02-04 16:11:37下载
- 积分:1