Reading from a serial port
Blitz3D Forums/Blitz3D Programming/Reading from a serial port
| ||
Anyone know a nice stable way of reading and writing to a serial port? |
| ||
I seem to remember someone doing a dll. Can't remember who it was though... might have been IPete2? |
| ||
I am wonderink if anyone could wrap this: http://www.zealsoftstudio.com/ntport/ VERY useful in VB :D |
| ||
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 |
| ||
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. |
| ||
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. |
| ||
http://www.nigelibrown.pwp.blueyonder.co.uk/blitz/userlibs/index.htm |
| ||
Joe, Thanks for providing the link IPete2. |
| ||
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... |