Re: Using Comm. Ports Under Windows...

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
You might try opening "COM0:" as a file. (Or COM1:  thru COM3: )


Alternatively, there's a little tool called serialproxy that talks to either a real serial port or a USB port in serial port emulation on one end, and looks like a socket  on the other. You can talk to this by opening a raw socket connection from prolog.

If you get this working, neatly bundling it as a pack would be nifty!



----- Original Message -----
From: Jeff Rosenwald <[email protected]>
To: [email protected]
Cc: 
Sent: Monday, March 3, 2014 5:44 AM
Subject: [SWIPL]  Using Comm. Ports Under Windows...

All:

I have a serial protocol used to interact with a microcontroller via an async. comm. port. Can this somehow be done via Prolog stream I/O on Windows or does something else need to be written?

Can somebody please provide a hint or better yet, an example?

Thanks,
Jeff R.
-------------- next part --------------
HTML attachment scrubbed and removed
_______________________________________________
SWI-Prolog mailing list
[email protected]
https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.