Re: Serial port programming with G95
- From: Ken Plotkin <kplotkin@xxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 00:22:32 -0500
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
.
- Follow-Ups:
- Re: Serial port programming with G95
- From: Mantas
- Re: Serial port programming with G95
- References:
- Serial port programming with G95
- From: Mantas
- Re: Serial port programming with G95
- From: Joe
- Serial port programming with G95
- Prev by Date: Re: EARLY LANGUAGES
- Next by Date: Re: How to halt a running program without losing data?
- Previous by thread: Re: Serial port programming with G95
- Next by thread: Re: Serial port programming with G95
- Index(es):