搜索资源列表
串口通讯JustinIO
- using System using System.Runtime.InteropServices namespace JustinIO { ?class CommPort { ??public string PortNum ??public int BaudRate ??public byte ByteSize ??public byte Parity // 0-4=no,odd,even,mark,space ??public byte
send_receive_message
- 2个主机互相发送和接收数据,用DatagramSocket类另一个构造方法DatagramSocket(int port)创建一个对象。
UDP.rar
- 1、首先需要定义的对象: SOCKET ReceivingSocket //接收端的Socket SOCKADDR_IN ReceiverAddr //接收端的地址信息 char ReceiveBuf[1024] //接收数据缓冲区大小 int BufLength //缓冲区长度 SOCKADDR_IN SenderAddr //发送数据端地址信息 int SenderAddrSize = sizeof(SenderAddr) //发送
6101
- 对于32位字长的机器,大约超过20亿,用int类型就无法表示了,我们可以选择int64类型,但无论怎样扩展-Over 2 billion for the 32-bit word length machines, about int type can not be expressed, we can choose the int64 type, but no matter how extended
COM_customplot
- 自己用的小软件,仿造原子的XCOM功能,加了一下自己用的功能。 1、基本串口通讯,鼠标放入串口选择自动刷新,显示COM口的驱动类型。 2、多条发送界面,可定时发送,可关联数字键盘、右键发送按钮可更改按钮名称,方便记忆。 3、485通讯,数据有十进制和十六进制可选,发送后自动保留记录。 4、CRC校验小工具。 5、十六进制通信协议提取部分位并根据自定义数据类型转化为十进制 6、字符格式示波器,例:">P:-1.25",示波器显示曲线名称P,数值-1.25,曲线个数最多8个
