Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serial communication Pin
FPeeters15-Apr-08 1:40
FPeeters15-Apr-08 1:40 
QuestionRe: Serial communication Pin
David Crow14-Apr-08 4:19
David Crow14-Apr-08 4:19 
GeneralRe: Serial communication Pin
Randor 14-Apr-08 4:27
professional Randor 14-Apr-08 4:27 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 4:35
FPeeters14-Apr-08 4:35 
GeneralRe: Serial communication Pin
David Crow14-Apr-08 4:50
David Crow14-Apr-08 4:50 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 5:53
mveCPallini14-Apr-08 5:53 
GeneralRe: Serial communication Pin
Randor 14-Apr-08 4:35
professional Randor 14-Apr-08 4:35 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 20:20
FPeeters14-Apr-08 20:20 
DCB structure:
DCBLength = 28
BaudRate = 38400
fBinary = 1
fParity = 0
fOutxCtsFlow = 0
fOutxDsrFlow = 0
fDtrControl = 1
fDsrSensitivity = 0
fTXContinueOnXoff = 1
fOutX = 0
fInX = 0
fErrorChar = 0
fNull = 0
fRtsControl = 1
fAbortOnError =1
fDummy2 = 0 (this one is not used but added for the complete structure)
wReserved = 0 (this one is not used but added for the complete structure)
XonLim = 2048
XoffLim = 512
ByteSize = 7
Parity = 0
StopBits = 0
XonChar = 17
XoffChar = 19
ErrorChar = 0
EvtChar = 0
wReserved1 = 0 (this one is not used but added for the complete structure)

The current settings for the Barcode reader are:
BaudRate = 38400 (default value)
DataBits = 7
Parity = NONE
StopBits = 1
RTS/CTS HardwareFlowcontrol = Off
Xon/Xoff SoftWareFlowControl = Off
Ack/Nak SoftwareFlowControl = Off


As for the COMMTIMEOUTS structure: I don't know if I am using this structure. I defined a constant (#define READ_TIMEOUT 5000) and use that in "WaitForSingleObject"

I hope you can send my in the right direction on solving this problem. Please explain any recommended changes in these settings so I can learn from it and avoid this in the future.
GeneralRe: Serial communication Pin
Randor 16-Apr-08 8:44
professional Randor 16-Apr-08 8:44 
GeneralRe: Serial communication Pin
FPeeters16-Apr-08 21:23
FPeeters16-Apr-08 21:23 
GeneralApplication Instance Pin
john563214-Apr-08 0:36
john563214-Apr-08 0:36 
QuestionRe: Application Instance Pin
Rajesh R Subramanian14-Apr-08 0:51
professionalRajesh R Subramanian14-Apr-08 0:51 
GeneralRe: Application Instance Pin
Rajkumar R14-Apr-08 1:01
Rajkumar R14-Apr-08 1:01 
GeneralRe: Application Instance Pin
Rajesh R Subramanian14-Apr-08 1:04
professionalRajesh R Subramanian14-Apr-08 1:04 
GeneralRe: Application Instance Pin
Rajkumar R14-Apr-08 1:06
Rajkumar R14-Apr-08 1:06 
GeneralRe: Application Instance Pin
john563214-Apr-08 1:14
john563214-Apr-08 1:14 
AnswerRe: Application Instance Pin
Rajesh R Subramanian14-Apr-08 1:20
professionalRajesh R Subramanian14-Apr-08 1:20 
GeneralRe: Application Instance Pin
john563214-Apr-08 1:49
john563214-Apr-08 1:49 
QuestionRe: Application Instance Pin
Rajkumar R14-Apr-08 1:34
Rajkumar R14-Apr-08 1:34 
GeneralRe: Application Instance Pin
Rajesh R Subramanian14-Apr-08 1:44
professionalRajesh R Subramanian14-Apr-08 1:44 
QuestionRe: Application Instance Pin
David Crow14-Apr-08 3:59
David Crow14-Apr-08 3:59 
GeneralRe: Application Instance Pin
JudyL_MD14-Apr-08 1:47
JudyL_MD14-Apr-08 1:47 
QuestionMember function pointer Pin
johanlich14-Apr-08 0:07
johanlich14-Apr-08 0:07 
GeneralRe: Member function pointer Pin
CPallini14-Apr-08 0:22
mveCPallini14-Apr-08 0:22 
GeneralRe: Member function pointer Pin
Rajkumar R14-Apr-08 0:31
Rajkumar R14-Apr-08 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.