kenyellow
Jun 22nd, 2005, 11:37 AM
Dear all,
I have a device which I want to connect to PC. However, the byte format of this device is as follow.
9600 NRZ: 1 start bit, 8 data bit, 1 mode bit, 1 stop bit
(Total 11 bits and the mode bit is set for indicating address byte or data byte.)
(1) I tried to read the signal in VB with function Mscomm but it didn't work as 9 data bits can't be read while MSComm1.Settings="9600,N,8,1" Pls. help.
(2) But i was surprised that comEventBreak was found. Does anyone know why?
Thx + regards
Ken
I have a device which I want to connect to PC. However, the byte format of this device is as follow.
9600 NRZ: 1 start bit, 8 data bit, 1 mode bit, 1 stop bit
(Total 11 bits and the mode bit is set for indicating address byte or data byte.)
(1) I tried to read the signal in VB with function Mscomm but it didn't work as 9 data bits can't be read while MSComm1.Settings="9600,N,8,1" Pls. help.
(2) But i was surprised that comEventBreak was found. Does anyone know why?
Thx + regards
Ken