-
上位机软件动态获取计算机COM口
应用背景
通过MFC6.0生成一个单文档程序,然后新建一个对话框并生成一个新类;在对话框中添加两个组合框控件。在生成的新类上右击增加windows消息WM_INITDIALOG生成处理函数,函数内容见“关键技术描述”。函数体中的index和baud均为int型,可设为全局变量。
关键技术BOOL CComDlg::OnInitDialog()
{
CDialog::OnInitDialog();
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("4800");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("9600");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("38400");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("115200");
((CComboBox *)GetDlgItem(IDC_COMBO2))->SetCurSel(0+baud);
long lReg;
HKEY hKey;
DWORD MaxValueLength;
- 2022-03-14 01:15:16下载
- 积分:1
-
调试tcp端口程序,通过程序可以对tcp程序进行调试,方便了程序的调试功能....
调试tcp端口程序,通过程序可以对tcp程序进行调试,方便了程序的调试功能.-debugging tcp port procedures, the procedures can be debugged tcp procedures to facilitate the process of debugging functions.
- 2023-05-06 20:15:02下载
- 积分:1
-
串口检测程序
串口检测程序 -Detecting serial
- 2022-07-15 10:51:06下载
- 积分:1
-
使用数字连接tcpserver,客户服务器
TCPServer using, numbers of clients connects in server
- 2023-06-02 15:45:03下载
- 积分:1
-
关于音频技术的一些名词解释,对于研究音频和声学知识的爱好者大有裨益。...
关于音频技术的一些名词解释,对于研究音频和声学知识的爱好者大有裨益。-on some technical terminology, audio and acoustic knowledge lovers of great benefit.
- 2022-07-15 23:07:22下载
- 积分:1
-
在OFDM上使用QPSK的仿真程序。有做理论分析的可参考
在OFDM上使用QPSK的仿真程序。有做理论分析的可参考-OFDM used in the simulation program QPSK. Theoretical analysis is done of reference
- 2022-10-05 13:55:03下载
- 积分:1
-
LabView 用于串口接收读取缓冲的最佳时间间隔
LabView 用于串口读写数据读取缓冲的最佳时间间隔,在串口通信内容长度不确定的情况下,能完整接收数据并在接收结束之后尽快的停止接收,决定串口通信的效率。此vi经过小修改应该就能普遍适用。
- 2023-02-08 06:05:04下载
- 积分:1
-
SL030, 13.56M micro and small to read and write documentation module, antenna an...
SL030,13.56M微小型读写模块说明文档,天线与模块集成到一块小板-SL030, 13.56M micro and small to read and write documentation module, antenna and module integrated into a small plate
- 2022-05-14 20:10:47下载
- 积分:1
-
rs232控制的程序,很好用的,推荐给大家。
rs232控制的程序,很好用的,推荐给大家。-RS232 control procedures, very good use, and recommend to everyone.
- 2022-09-03 06:45:03下载
- 积分:1
-
SONY' s FCB
SONY 公司的FCB-EX980系列可见光相机操作手册和VISCE/RS232指令表。-SONY" s FCB-EX980 series of visible-light camera operating manuals and instructions VISCE/RS232 table.
- 2022-02-13 02:14:54下载
- 积分:1