I have an application that needs to send a piece of equipment command lines in the following form:
SOH TYPE [##] STX [DATA_TEXT] ETX [BCC] CR
Bracketed items are optional data. TYPE, ##, and DATA_TEXT are all text. SOH, STX, ETX, and CR are all Hex values but I get an error when trying to send a hex value with MSComm. My question is...how would I send the following parameters using MSComm?
&H1 P AA &H2 Hello World &H3 &HD
Thanks In Advance,