AnsweredAssumed Answered

Serial Interface Question

Question asked by VRFuser on Sep 11, 1997
from: Greg Goebel / HP-MXD / 970-679-3030 / FAX 970-679-5971
to:   VRf-Brian Lemker
date: Thursday, 11 September 1997 1502 MDT

>      I am working on a VEE program that uses the serial interface to talk
>      to a stepper motor controller for automated part handling/testing. My
>      problem is that the controller sends back information, usually a
>      string or multiple strings, that I do not always need or want. Is
>      there a way to simply flush this information from the receive buffer 
>      so that the buffer is clear when I send a command that I do need to
>      read the returned information from? I realize that I could just read
>      this unwanted information and throw it away as it came in but that
>      would require me to look up every single command to see what it
>      returns and code accordingly which seems a waste of development time
>      when I'm not going to use the information.

Do an EXECUTE RESET.  However, this also sends a BREAK, which might disrupt
the operation of the box.

>      Thanks,
>      Brian Lemker
>      Electronic Engineering Technician II
>      Motorola
>      Semiconductor Products Sector
>      RF Semiconductor Division
>      RF Integrated Circuits Operations
>      2100 E. Elliot Rd. M/S EL710
>      Tempe, AZ  85284
>      Fax: (602) 413-4433
>      Email:

[<>] regards -- gvg