Per HT sagt mir Portmon folgendes:
Delphi-Quellcode:
0.12418143 hypertrm.exe IRP_MJ_CREATE Serial2 SUCCESS Options: Open
0.00000782 hypertrm.exe IOCTL_SERIAL_SET_QUEUE_SIZE Serial2 SUCCESS InSize: 8192 OutSize: 8192
0.00000251 hypertrm.exe IOCTL_SERIAL_CONFIG_SIZE Serial2 SUCCESS Size: 0
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_BAUD_RATE Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_CHARS Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_HANDFLOW Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_BAUD_RATE Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_CHARS Serial2 SUCCESS
0.00000196 hypertrm.exe IOCTL_SERIAL_GET_HANDFLOW Serial2 SUCCESS
0.00000223 hypertrm.exe IOCTL_SERIAL_SET_BAUD_RATE Serial2 SUCCESS Rate: 9600
0.00275426 hypertrm.exe IOCTL_SERIAL_SET_RTS Serial2 SUCCESS
0.00297496 hypertrm.exe IOCTL_SERIAL_SET_DTR Serial2 SUCCESS
0.00000279 hypertrm.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial2 SUCCESS StopBits: 1 Parity: NONE WordLength: 8
0.00295652 hypertrm.exe IOCTL_SERIAL_SET_CHAR Serial2 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
0.01298852 hypertrm.exe IOCTL_SERIAL_SET_HANDFLOW Serial2 SUCCESS Shake:80000001 Replace:80000040 XonLimit:80 XoffLimit:200
0.00000391 hypertrm.exe IOCTL_SERIAL_SET_TIMEOUTS Serial2 SUCCESS RI:10 RM:0 RC:0 WM:0 WC:5000
0.00000363 hypertrm.exe IOCTL_SERIAL_SET_WAIT_MASK Serial2 SUCCESS Mask: RLSD ERR
0.00000000 hypertrm.exe IOCTL_SERIAL_WAIT_ON_MASK Serial2
0.00000000 hypertrm.exe IRP_MJ_READ Serial2 Length 80
0.00076993 hypertrm.exe IRP_MJ_WRITE Serial2 SUCCESS Length 1: .
0.00000670 hypertrm.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00092945 hypertrm.exe IRP_MJ_WRITE Serial2 SUCCESS Length 1: .
21.23459630 hypertrm.exe IRP_MJ_READ Serial2 TIMEOUT Length 8: 12305678
per Delphi macht es das:
Delphi-Quellcode:
0.12224207 Zeitmessung.exe IRP_MJ_CREATE Serial2 SUCCESS Options: Open
0.00000475 Zeitmessung.exe IOCTL_SERIAL_GET_BAUD_RATE Serial2 SUCCESS
0.00000251 Zeitmessung.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_CHARS Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_HANDFLOW Serial2 SUCCESS
0.00000196 Zeitmessung.exe IOCTL_SERIAL_GET_BAUD_RATE Serial2 SUCCESS
0.00000196 Zeitmessung.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial2 SUCCESS
0.00000196 Zeitmessung.exe IOCTL_SERIAL_GET_CHARS Serial2 SUCCESS
0.00000196 Zeitmessung.exe IOCTL_SERIAL_GET_HANDFLOW Serial2 SUCCESS
0.00000196 Zeitmessung.exe IOCTL_SERIAL_SET_BAUD_RATE Serial2 SUCCESS Rate: 9600
0.00277857 Zeitmessung.exe IOCTL_SERIAL_CLR_RTS Serial2 SUCCESS
0.00299871 Zeitmessung.exe IOCTL_SERIAL_CLR_DTR Serial2 SUCCESS
0.00000251 Zeitmessung.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial2 SUCCESS StopBits: 1 Parity: NONE WordLength: 8
0.00295764 Zeitmessung.exe IOCTL_SERIAL_SET_CHAR Serial2 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
0.00000307 Zeitmessung.exe IOCTL_SERIAL_SET_HANDFLOW Serial2 SUCCESS Shake:80000000 Replace:80000000 XonLimit:2048 XoffLimit:512
0.00000223 Zeitmessung.exe IOCTL_SERIAL_SET_QUEUE_SIZE Serial2 SUCCESS InSize: 1024 OutSize: 1024
0.00000223 Zeitmessung.exe IOCTL_SERIAL_SET_TIMEOUTS Serial2 SUCCESS RI:0 RM:0 RC:1 WM:0 WC:0
0.00090235 Zeitmessung.exe IRP_MJ_WRITE Serial2 SUCCESS Length 1: x
0.00000279 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000251 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000251 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
0.00000223 Zeitmessung.exe IOCTL_SERIAL_GET_COMMSTATUS Serial2 SUCCESS
... es folgt noch mehr davon
Gruß Lee