MSComm doing individual control characters
Posted on 2001-06-11
I'm in the process of replacing an old piece of Digital equipment that was running a measurement tool and I've run into a bit of a snag.
The old machine communicates serially to the measurement control machine. I've hooked up a serial logic analyzer and I saw the following:
Where S=Sx E=Ex A=Ak D=Dl Q=Eq
Now what I need help on is the control character use in the mscomm control of VB. I send out the first string,
M220101006500016017018, but how do I send the Ex and wait for the Ak? How do I send the Sx after that? After I send the string, I simply receive an infinite amount of Ex characters returned to me, at the rate of about 1/sec.
Anyone have any ideas on this level of control for the mscomm control? Thanks in advance!!!!