How to Read/Write serial COM port asynchronous?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Posts: 47
Joined: Tue Nov 25, 2014 9:48 pm

How to Read/Write serial COM port asynchronous?

Post by Monox18 » Sat Jun 27, 2020 7:39 pm

Hello All,

I would like to Read/Write COM ports on Windows 10 x64 in a non-blocking way. Indy license.

If I use "open file" or "open driver" they will do it in a blocking way. The Read from file/driver doesn't seem to support callbacks.

"Load" commands seems to work with URL only

tsNet works well with normal URL but no Idea how to use it with COM. How can I use tsNet to read COM ports? Any ideas how to manage serial ports asynchronous?

Thank you!

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”