Reading from a serial port

Blitz3D Forums/Blitz3D Programming/Reading from a serial port

D4NM4N(Posted 2005) [#1]
Anyone know a nice stable way of reading and writing to a serial port?


big10p(Posted 2005) [#2]
I seem to remember someone doing a dll. Can't remember who it was though... might have been IPete2?


Damien Sturdy(Posted 2005) [#3]
I am wonderink if anyone could wrap this:

http://www.zealsoftstudio.com/ntport/

VERY useful in VB :D


Naughty Alien(Posted 2005) [#4]
I hope this will work out for you..I use it once and its working..you can open,read, write, close port..

http://www.uploadraid.com/uploads/55a357e1ed.zip

http://www.uploadraid.com/uploads/5663ac281b.zip


IPete2(Posted 2005) [#5]
D,

Cygnus was half right - I have done quite a lot of work in this area for the SSGB project (but in truth the code I used came from Nigel Brown - who is a bit of a whizzzzard when it comes to all this stuff).

There is a dll somewhere... but contrary to opinion and belief, you do not actually need a dll! Nigel gave me some code which worked just dandy for what I wanted.

Let me look up the code and I'll email it to you.

IPete2.


D4NM4N(Posted 2005) [#6]
Thqnks ill take a looky.

I am doing a project for someone where i have to control a moving 'ride console' Ive managed to get around reading the controls in (can be done by simulating scancodes from another app) but i need to tell the mechanics when to start, what to do and when to stop.

Should be an interesting one.


jhocking(Posted 2005) [#7]
http://www.nigelibrown.pwp.blueyonder.co.uk/blitz/userlibs/index.htm


IPete2(Posted 2005) [#8]
Joe,

Thanks for providing the link

IPete2.


WolRon(Posted 2005) [#9]
Yeah, nigels serialio.bb code looks exactly like the code I successfully used:


And here is some actual code that a program I wrote used to use the serialio code:

Note that some of this code is specific to my application and wouldn't necessarily be used in yours...