How do i send a hex value to the comm port 
Author Message
 How do i send a hex value to the comm port

I need to send a hexedecimal value to to communications port. I am trying
to connect ( via modem ) to a piece of medical equipment that only starts
responding when it has recived the value 84hex. MSComm will only let me
store characters on the Output buffer



Tue, 13 Oct 1998 03:00:00 GMT  
 How do i send a hex value to the comm port

 I need to send a hexedecimal value to to communications port. I am trying
 to connect ( via modem ) to a piece of medical equipment that only starts
 responding when it has recived the value 84hex. MSComm will only let me
 store characters on the Output buffer

Surely the hardware just refers to the value by Hex notation.
84HEX is 132 decimal or Chr$(132). Therefore you just output a chr$(132).

Anthony



Tue, 13 Oct 1998 03:00:00 GMT  
 How do i send a hex value to the comm port

Quote:
On Friday, April 26, 1996, Justin Broad wrote...
> I need to send a hexedecimal value to to communications port. I am
trying
> to connect ( via modem ) to a piece of medical equipment that only
starts
> responding when it has recived the value 84hex. MSComm will only let me
> store characters on the Output buffer

MSComm1.Output = Chr$(&H84)

Dave
Crescent



Tue, 13 Oct 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. help on outputing HEX on the COMM port

2. Hex to Comm Port

3. Sending a HEX string down the USB port

4. send hex to com port

5. Send HEX commands to com port

6. sending hex control codes via serial port

7. Sending Hex data out a COM port

8. Sending CTRL key to a comm port?!

9. opening and sending BINARY to a comm port.

10. How send BYTES down comm port

11. Sending data to a comm port that is in use

12. Unable to send data on comm port

 

 
Powered by phpBB® Forum Software