-
上位机软件动态获取计算机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
-
无线通信的MC CDMA系统的误码率ebvaluation
Ber ebvaluation of MC CDMA system for wireless communication
- 2023-08-12 11:15:03下载
- 积分:1
-
Through the MP (on behalf of one of P I) of high 4 to control, AA `BB`
通过MP(代表其中一个P口)的高4位来控制,AA`BB`-4,5,6,7脚。12细分,没行数组里面分4对,每对数第一个加到P口控制电流方向,第二个数控制通电时间。正转AA`-BB`-A`A-B`B,数组由1到12行的读取,反转B`B-A`A-BB`-AA`,数组由12到1行的读取。参数POWER表示电机启动还是不启动,DIRECT参数表示方向,SPEED表示速度等级,每项通电时间用数组中的植/SPEED。本程序没考虑要走多少步的情况,调用一次就走一步。-Through the MP (on behalf of one of P I) of high 4 to control, AA `BB`-4,5,6,7 feet. 12 segments, no line inside the sub-array of four pairs, each of the P added to the number of the first current direction of population control, the second time the number of control power. Are transferred AA `-BB`-A `AB` B, the array from 1-12 line read, reverse B `BA` A-BB `-AA`, array 12-1 by the line read. POWER express motor parameters activated or not activated, DIRECT express direction parameter, SPEED express speed grades, each time power array sik/SPEED. This procedure did not consider how to go step-by-step situation, call a step away.
- 2022-08-24 16:01:49下载
- 积分:1
-
利用Jakes模型生成Rayleigh衰落信道
资源描述利用Jakes模型生成Rayleigh衰落信道,并进行绘制
- 2022-03-19 03:18:49下载
- 积分:1
-
linux在ARM体系上中断系统的实现分析,自己的分析文档,很有心得。...
linux在ARM体系上中断系统的实现分析,自己的分析文档,很有心得。-Linux on the ARM system interrupt system of analysis, the analysis of documents, useful experience.
- 2022-01-26 03:15:20下载
- 积分:1
-
Download Client and Manager
这个程序管理服务器和客户端之间的下载。所有这些程序都是使用visualbasic创建的
- 2023-06-20 01:40:04下载
- 积分:1
-
adhoc网络dsr协议的matlab仿真
Matlab实现Ad Hoc网络的DSR路由协议,30个节点,仿真区域大小100x100,通信范围15,位置随机生成(均匀分布),程序以图的形式输出随机生成的拓扑,输出最终路径选择(在图上以线段连接路径),没有实现RRER功能
- 2022-01-21 04:57:59下载
- 积分:1
-
手机顶尖游戏制作全揭密
手机顶尖游戏制作全揭密-top mobile phone game, Colo.
- 2022-01-25 19:37:32下载
- 积分:1
-
VC API 编程
VC API 编程-VC Programming
- 2022-11-01 04:15:02下载
- 积分:1
-
FSK detailed information on the FSK/DTMF
FSK详细资料,关于FSK/DTMF相关的资料等等
-FSK detailed information on the FSK/DTMF-related information, etc.
- 2022-03-06 15:52:29下载
- 积分:1