VS2013+C#,串口助手,支持循环发送指令,自动识别串口
2021-09-08 15:58:21 145KB C# 串口助手 循环发送 自动识别串口
1
通过C#实现串口通信,里面的代码展示了如何监听计算机中的串口,解析数据或者发送数据,做串口开发的可以参考
2021-09-08 11:24:05 141KB 串口通信 C#
1
RS232协议,用于读取下位机,可通信仪表。代码内含托利多仪表返回协议
2021-09-08 10:20:10 56KB C# RS232
1
根据作者:https://www.cnblogs.com/bruce1992/p/14288336.html 编写的串口工具代码
2021-09-07 18:06:39 197KB 串口工具代码 C#串口工具
1
实用的类,可以很方便地读写串口数据,可移植性高。附上一个简单的小例程。
2021-09-07 15:29:46 7.14MB 串口 C++
1
代码易读有详细注释,使用C#编写的串口操作软件,能同时接收和发送。
2021-09-07 14:44:14 77KB C# 串口通讯 多线程
1
这是一个非常经典的C#串口多线程实例,把部分代码发送来让大家看看 using System; using System.IO; using System.IO.Ports; using System.Collections; using System.Threading; namespace Termie { /// CommPort class creates a singleton instance /// of SerialPort (System.IO.Ports) /// When ready, you open the port. /// /// CommPort com = CommPort.Instance; /// com.StatusChanged += OnStatusChanged; /// com.DataReceived += OnDataReceived; /// com.Open(); /// /// Notice that delegates are used to handle status and data events. /// When settings are changed, you close and reopen the port. /// /// CommPort com = CommPort.Instance; /// com.Close(); /// com.PortName = "COM4"; /// com.Open(); /// /// public sealed class CommPort { SerialPort _serialPort; Thread _readThread; volatile bool _keepReading; //begin Singleton pattern static readonly CommPort instance = new CommPort(); // Explicit static constructor to tell C# compiler // not to mark type as beforefieldinit static CommPort() { } CommPort() { _serialPort = new SerialPort(); _readThread = null; _keepReading = false; } public static CommPort Instance { get { return instance; } } //end Singleton pattern //begin Observer pattern public delegate void EventHandler(string param); public EventHandler StatusChanged; public EventHandler DataReceived; //end Observer pattern private void StartReading() { if (!_keepReading) { _keepReading = true; _readThread = new Thread(ReadPort); _readThread.Start(); } } private void StopReading() { if (_keepReading) { _keepReading = false; _readThread.Join(); //block until exits _readThread = null; } }
2021-09-06 18:03:34 67KB C#多线程串口
1
刚刚学习c#,自己写的串口调试助手,C#原代码。希望各位高手指点。
2021-09-06 17:13:12 145KB c# 串口 mscom控件
1
在C#中应用第三方控件MSComm实现串口通讯
2021-09-06 17:10:53 682KB C#、串口通讯
1
RFID读卡器236028 上位机/串口调试
2021-09-06 16:11:38 5.32MB c#
1