PC机与智能仪器串口通信 MSComm 控件提供下列两种处理通讯的方式: 事件驱动通讯是处理串行端口交互作用的一种非常有效的方法。在许多情况下,在事件发生时需要得到通知,例如,在 Carrier Detect (CD) 或 Request To Send (RTS) 线上一个字符到达或一个变化发生时。在这些情况下,可以利用 MSComm 控件的 OnComm 事件捕获并处理这些通讯事件。OnComm 事件还可以检查和处理通讯错误。所有通讯事件和通讯错误的列表,参阅 CommEvent 属性。 在程序的每个关键功能之后,可以通过检查 CommEvent 属性的值来查询事件和错误。如果应用程序较小,并且是自保持的,这种方法可能是更可取的。例如,如果写一个简单的电话拨号程序,则没有必要对每接收一个字符都产生事件,因为唯一等待接收的字符是调制解调器的“确定”响应。 每个使用的 MSComm 控件对应着一个串行端口。如果应用程序需要访问多个串行端口,必须使用多个 MSComm 控件。可以在 Windows“控制面板”中改变端口地址和中断地址。
上传时间: 2016-10-05
上传用户:洛木卓
操作系统接口:兼容Unix 和Linux 命令接口。 为Windows 操作系统建立一个兼容Unix 命令的命令接口; 实现命令包括ls,cat,cp,rm,mv,ren,mkdir,rmdir,cd,help,exit命令的内容与详细格式请查阅unix 命令手册; 可以字符形式接收命令,执行命令,然后显示命令执行结果。
上传时间: 2013-12-12
上传用户:498732662
用20个示例项目的方式介绍Matlab/Simulink。内容包括: *Contains over 20 hands-on projects in MATLAB(with code) integrated throughout the book *Includes a complete introduction to Simulink *Accompanied by a CD-ROM containing MATLAB examples, source code, third party simulations & projects *Suitable for self-study and professional licensing exams *Designed for the reader who does not have extensive math and programming experience *Contains many practical applications of MATLAB and Simulink
标签: Contains Simulink hands-on projects
上传时间: 2014-01-03
上传用户:hj_18
智能快速充电器设计资料,包括NI-CD NI-MH和锂电池,铅蓄电池充电器的设计
上传时间: 2014-01-17
上传用户:qb1993225
本书以237个Visual C++精彩实例全面解析了C++语言、编程的思路、方法和技巧。 该书内容涉及Visual C++编程语言,文档与视图结构,界面、对话框与控件,菜单、工具栏和状态栏,文件与系统,COM组件,数据库,多媒体,ATL与ActiveX控件,以及网络和Internet编程等各个方面。选例经典而具有代表性,分析透彻,编程逻辑思路简练,具有很强的实用性、可操作性和参考价值。 本书非常适合Visual C++初学者和中级程序员,亦可作为业余爱好者、高校计算机专业师生自学、教学用书,以及专业程序员参考书。 本版CD内容为本书237个实例的全部源代码
上传时间: 2016-11-15
上传用户:天涯
MTOOLS version 2.0 Mtools is a public domain collection of programs to allow Unix systems to read, write, and manipulate files on an MSDOS filesystem (typically a diskette). The following MSDOS commands are emulated: Mtool MSDOS name equivalent Description ----- ---- ----------- mattrib ATTRIB change MSDOS file attribute flags mcd CD change MSDOS directory mcopy COPY copy MSDOS files to/from Unix mdel DEL/ERASE delete an MSDOS file mdir DIR display an MSDOS directory mformat FORMAT add MSDOS filesystem to a low-level format mlabel LABEL make an MSDOS volume label. mmd MD/MKDIR make an MSDOS subdirectory mrd RD/RMDIR remove an MSDOS subdirectory mread COPY low level read (copy) an MSDOS file to Unix mren REN/RENAME rename an existing MSDOS file mtype TYPE display contents of an MSDOS file mwrite COPY low level write (copy) a Unix file to MSDOS
标签: collection programs version systems
上传时间: 2016-11-18
上传用户:wlcaption
Design patterns are elegant, adaptable, and reusable solutions to everyday software development problems. Programmers use design patterns to organize objects in programs, making them easier to write and modify. C# Design Patterns: A Tutorial is a practical guide to writing C# programs using the most common patterns. This tutorial begins with clear and concise introductions to C#, object-oriented programming and inheritance, and UML diagrams. Each chapter that follows describes one of twenty-three design patterns, recommends when to use it, and explains the impact that it will have on the larger design. The use of every pattern is demonstrated with simple example programs. These programs are illustrated with screen shots and UML diagrams displaying how the classes interact. Each of these programs is available on the companion CD-ROM and can be run, examined, edited, and applied.
标签: development adaptable solutions patterns
上传时间: 2014-09-07
上传用户:wangchong
Please read this document before attempting to compile and run the libraries and applications! The projects must be compiled in a particular order. Standard support questions are about compiler and/or linker errors that are generated when users try to compile the projects in the wrong order. Other information of interest is available here, so read the entire document fi rst. Wild Magic Version 2.1 is what ships with the fi rst printing of the Game Physics book. Some of the applications that are referenced in the book did not make it onto the CD–ROM for the book. Version 2.2 contains those applications, plus more
标签: applications attempting and libraries
上传时间: 2014-01-16
上传用户:Late_Li
这是书上的代码,用Visual C++播放CD中第一首曲子的实现过程。供大家参考
标签: 代码
上传时间: 2016-12-14
上传用户:lizhen9880
FlashBoot 是一款制作usb闪存启动盘的工具,软件具有高度可定制的特点和丰富的选项,兼容所有usb盘,对一些512M以上大容量的杂牌U盘兼容性很好。 特点:支持BartPE-Bart预安装环境启动CD转换为usb闪存启动盘;支持从win9x传递DOS核心到usb盘; 支持从软盘制作usb启动;支持从可引导光盘制作usb启动盘;制作Windows NT/2000/XP口令恢复及制作带有NT/2000/XP bootloader的usb盘;支持usb闪存盘复制等等。
上传时间: 2016-12-19
上传用户:cc1015285075