Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/07/02 15:45
Read: times


 
#25395 - RE: SERIAL COMMUNICATION USING VB6
1)What should i do to send 234 as 8 bit data?

Use the Chr function. I.e. MSComm1.Output=Chr(234)

2)The data sent or received by UC is in HEX format. Keeping this in mind, which of the InputMode property(comInputModeText or comInputModeBinary)should be chosen ?

comInputModeBinary

3)If UC sends data 234 as 8 bit data, what will be the output of instruction:
Text1.Text =MSComm1.Input ? (ASCII character of '234' or '234')


It will be the ASCII character 234

Regards,
Rob.

List of 18 messages in thread
TopicAuthorDate
SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood - Rob            01/01/70 00:00      
RE: Andy - Rob            01/01/70 00:00      
RE: Mahmood - Rob            01/01/70 00:00      
RE: Rob            01/01/70 00:00      
   how if Chr(129)...?            01/01/70 00:00      
RE: Rob            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      

Back to Subject List