Location:
Search - comm 2.0
Search list
Description: 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 StopBits // 0,1,2 = 1, 1.5, 2
??public int ReadTimeout
??
??//comm port win32 file handle
??private int hComm = -1
??
??public bool Opened = false
??
??//win32 api constants
??? private const uint GENERIC_READ = 0x80000000
??? private const uint GENERIC_WRITE = 0x40000000
??? private const int OPEN_EXISTING = 3 ??
??? private const int INVALID_HANDLE_VALUE = -1
-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 StopBits // 0,,1,2 = 1, 1.5, 2? ? Public int ReadTimeout?
? ? ? //comm port win32 file handle? ? Private int hComm = -1? ? ? ?
Public bool Opened = false? ? ? ? //win32 api constants? ? ? Private
const uint GENERIC_READ = 0x80000000? ? ? Private const uint
GENERIC_WRITE = 0x40000000? ? ? Private const int OPEN_EXISTING = 3? ?
? ? ? Private const int INVALID_HANDLE_VALUE = -1? ?
Platform: |
Size: 9142 |
Author: liucheng |
Hits:
Description: 基于DOS的多任务系统的实现
1. 用C语言完成线程的创建和撤消,并按优先权加时间片轮转算法对多个线程进行调度;
2. 改变时间片的大小,观察结果的变化。思考:为什么时间片不能太小或太大;
3. 假设两个线程共用同一软件资源(如某一变量,或某一数据结构),请用记录型信号量来实现对它的互斥访问;
4. 假设有两个线程共享一个可存放5个整数的缓冲,一线程不停的计算1到50的平方,并将结果放入缓冲中,另一个线程不断的从缓冲中取出结果,并将他们打印出来,请用记录型信号量实现这一生产者和消费者的同步问题;
5. 实现消息缓冲通信,并于3,4中的简单通信进行比较;
6. 思考:在线程间进行消息缓冲通信时,若对消息队列的访问没有满足互斥要求,情况会怎么样?-DOS-based multi-tasking system in a. C language to complete the creation and thread lift Priority increase as time slice Web algorithm for multiple-thread scheduling; 2. change the timing of the unit size, The results change. Thoughts : Why not films too little time or too much; 3. Assuming two threads to share the same software resources (such as a variable, or a data structure), with record-volume signal to achieve its exclusive interviews. 4. Suppose two threads share a deposit of five integer buffer keep a thread of 1-50 calculating the square, and the results Add buffer, Another constant thread removed from the buffer, and print them out, Please record-volume signal achieve this producers and consumers synchronization; 5. Implementation news buffer communications, and 3, 4 simple comm
Platform: |
Size: 4139 |
Author: Li |
Hits:
Description: RTP/RTCP函数库在win32/unix下的实现源代码-RTP/RTCP libraries in the realization Win32/Unix source code
Platform: |
Size: 169984 |
Author: 李京津 |
Hits:
Description: The code, images and designs for this book are released under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.
http://creativecommons.org/licenses/by-nc-sa/2.5/
You are free:
* to copy, distribute, display, and perform the work
* to make derivative works
Under the following conditions:
*Attribution. You must attribute the work in the manner specified by the author or licensor.
*Noncommercial. You may not use this work for commercial purposes.
*Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one.
*For any reuse or distribution, you must make clear to others the license terms of this work.
*Any of these conditions can be waived if you get permission from the copyright holder.
CONTACT ME
Please address any questions to info@andybudd.com.-The code, images and designs for this book are released un der a Creative Commons Attribution- NonCommer Reconciliation- ShareAlike 2.5 License. http :// creativecommons.org/licenses/by-nc-sa/2.5/You are free :* to copy, distribute, display, and perform the work* to make derivative works U nder the following conditions :* Attribution. You must attribute the work in th e manner specified by the author or licensor.* N oncommercial. You may not use this work for comm ercial purposes.* Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only unde r a license identical to this one.* For any reuse or distribution. you must make clear to others the license terms o f this work.* Any of these conditions can be waiv ed if you get pe
Platform: |
Size: 710656 |
Author: 121 |
Hits:
Description: Wince5.0 COM test procedure
Platform: |
Size: 4311040 |
Author: 何兵雄 |
Hits:
Description: wince 5.0下的串口调试程序和源代码。-under wince 5.0 serial debugger and source code.
Platform: |
Size: 1603584 |
Author: 广林 |
Hits:
Description: Windows CE 6.0 COMMUNICATION/Networking 源码-Windows CE 6.0 COMMUNICATION/Networking Source
Platform: |
Size: 1576960 |
Author: 范晓雄 |
Hits:
Description: javascript,编写的通用类库,包含各种指令“回车键转化为tab键”“设立学期是否符合规则”“全部选中复选框”“監察日期時間格式”“刷新父頁面”等等实用源代码,可用于学习,亦可直接调用-javascript, to prepare a common class library that contains a variety of commands, Enter into a tab key set up semester with the rules all the selected check box to monitor the Date Time format Father of the page to refresh, and so on Utility source code, can be used for learning, can also directly call the
Platform: |
Size: 3072 |
Author: yzzz |
Hits:
Description: Victor 串口 VCL 控件, 简单实用, 功能强大的 C++ Builder 串口控件! 本控件是免费的, 不需要注册, 有关授权及许可协议详见 license.txt 文件-Victor serial VCL controls, simple, practical, powerful C++ Builder serial control! This control is free, does not require registration, the authorization and license agreement see license.txt file
Platform: |
Size: 78848 |
Author: hunter |
Hits:
Description: Serial port comm file s. Tried to to do it but could not make it working.p[lease help
Platform: |
Size: 1140736 |
Author: nalin |
Hits:
Description: qq网页密码保护密码保护qq 保护qq 密码做网页游戏必备的东西-qq
Platform: |
Size: 4096 |
Author: 吴国拉 |
Hits:
Description: 腾讯登录的密码串加密方式脚本,完整版
-Tencent string encryption password for the login script, full version
Platform: |
Size: 4096 |
Author: kangning |
Hits:
Description: JAVA串口通信类库包,通过此类库可以非常方便的操作串口连接的设备,下载后将.rar改为.jar-JAVA serial communication class library packages, such libraries can be very easily through the operation of the device serial connection, download will be. Rar to. Jar
Platform: |
Size: 39936 |
Author: 田大哥 |
Hits:
Description: 串口数据传输测试程序,BCB6.0源码。-Comm data transfer
Platform: |
Size: 15360 |
Author: 寸草心 |
Hits:
Description: commmm documents for co-commmm documents for comm
Platform: |
Size: 177152 |
Author: Fantaye |
Hits:
Description: wince 6.0下串口通信的程序例程。-wince 6.0 serial communication procedures.
Platform: |
Size: 10383360 |
Author: |
Hits:
Description: wince 6.0 串口收发绝对能用 工程文件-wince 6.0 serial transceiver absolutely use the project file
Platform: |
Size: 13620224 |
Author: |
Hits:
Description: 扫描计算机串口,列出计算机的串口
扫描计算机串口,列出计算机的串口-scan comm
Platform: |
Size: 1024 |
Author: 刘星 |
Hits:
Description: make sure the comm has a \0 at the end.
Platform: |
Size: 1024 |
Author: zanvungan |
Hits:
Description: pyserial comm master code for .......
Platform: |
Size: 189440 |
Author: vv1
|
Hits: