日期:2014-05-17  浏览次数:21089 次

新手求救,如何对serialport设置
0	0.00005215	ntvdm.exe	IRP_MJ_CREATE	Serial1	SUCCESS	Options: Open 	
1 0.00000133 ntvdm.exe IOCTL_SERIAL_SET_QUEUE_SIZE Serial1 SUCCESS InSize: 1024 OutSize: 1024
2 0.00000086 ntvdm.exe IOCTL_SERIAL_SET_TIMEOUTS Serial1 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:65000
3 0.00000087 ntvdm.exe IOCTL_SERIAL_GET_BAUD_RATE Serial1 SUCCESS
4 0.00000069 ntvdm.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial1 SUCCESS
5 0.00000051 ntvdm.exe IOCTL_SERIAL_GET_CHARS Serial1 SUCCESS
6 0.00000065 ntvdm.exe IOCTL_SERIAL_GET_HANDFLOW Serial1 SUCCESS
7 0.00000779 ntvdm.exe IOCTL_SERIAL_SET_BAUD_RATE Serial1 SUCCESS Rate: 9600
8 0.00000351 ntvdm.exe IOCTL_SERIAL_SET_RTS Serial1 SUCCESS
9 0.00000355 ntvdm.exe IOCTL_SERIAL_SET_DTR Serial1 SUCCESS
10 0.00000208 ntvdm.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial1 SUCCESS StopBits: 1 Parity: EVEN WordLength: 7
11 0.00000077 ntvdm.exe IOCTL_SERIAL_SET_CHAR Serial1 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
12 0.00000222 ntvdm.exe IOCTL_SERIAL_SET_HANDFLOW Serial1 SUCCESS Shake:1 Replace:40 XonLimit:10 XoffLimit:10
13 0.00000107 ntvdm.exe IOCTL_SERIAL_PURGE Serial1 SUCCESS Purge: TXCLEAR 
14 0.00000110 ntvdm.exe IOCTL_SERIAL_PURGE Serial1 SUCCESS Purge: RXCLEAR
15 0.00000152 ntvdm.exe IOCTL_SERIAL_PURGE Serial1 SUCCESS Purge: TXABORT TXCLEAR 
16 0.00000110 ntvdm.exe IOCTL_SERIAL_PURGE Serial1 SUCCESS Purge: RXCLEAR
17 0.00000107 ntvdm.exe IOCTL_SERIAL_GET_BAUD_RATE Serial1 SUCCESS
18 0.00000063 ntvdm.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial1 SUCCESS
19 0.00000054 ntvdm.exe IOCTL_SERIAL_GET_CHARS Serial1 SUCCESS
20 0.00000057 ntvdm.exe IOCTL_SERIAL_GET_HANDFLOW Serial1 SUCCESS
21 0.00000082 ntvdm.exe IOCTL_SERIAL_GET_BAUD_RATE Serial1 SUCCESS
22 0.00000057 ntvdm.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial1 SUCCESS
23 0.00000051 ntvdm.exe IOCTL_SERIAL_GET_CHARS Serial1 SUCCESS
24 0.00000054 ntvdm.exe IOCTL_SERIAL_GET_HANDFLOW Serial1 SUCCESS
25 0.00000768 ntvdm.exe IOCTL_SERIAL_SET_BAUD_RATE Serial1 SUCCESS Rate: 9600
26 0.00000346 ntvdm.exe IOCTL_SERIAL_CLR_RTS Serial1 SUCCESS
27 0.00000346 ntvdm.exe IOCTL_SERIAL_CLR_DTR Serial1 SUCCESS
28 0.00000386 ntvdm.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial1 SUCCESS StopBits: 1 Parity: NONE WordLength: 8
29 0.00000069 ntvdm.exe IOCTL_SERIAL_SET_CHAR Serial1 SUCCESS EOF:0 ERR:0 BRK:0 EVT:a XON:11 XOFF:13
30 0.00000798 ntvdm.exe IOCTL_SERIAL_SET_HANDFLOW Serial1 SUCCESS Shake:0 Replace:3 XonLimit:0 XoffLimit:768
31 0.00000211 ntvdm.exe IOCTL_SERIAL_GET_MODEMSTATUS Serial1 SUCCESS
32 0.00000345 ntvdm.exe IOCTL_SERIAL_SET_DTR Serial1 SUCCESS
33 0.00000351 ntvdm.exe IOCTL_SERIAL_SET_RTS Serial1 SUCCESS