Re: Serial port programming with G95



On 29 Dec 2005 13:57:43 -0800, "Joe" <jkrahn@xxxxxxxxx> wrote:

>READ/WRITE to filename "COM1:" will probably work for simple tasks if
>you set the serial port defaults to match the desired I/O settings, and
>if you are not trying no monitor control lines. You might also need to
>set the environment variable G95_UNBUFFERED_ALL, or call flush()
>frequently.

WRITE will certainly work, but READ will be uncertain. Likely to
depend on the particular machine. PC hardware/firmware just does not
have a decent device driver built in.

The Windows API does have good serial handling. If serial input is
neeed, it's worth trying to access that.

Ken Plotkin

.