recieving data from com port

BlitzMax Forums/BlitzMax Programming/recieving data from com port

NoOdle(Posted 2010) [#1]
Hey!

I spent the day yesterday writing a blitz3d app to read in data from a usb rs232 using some code by vertex from the code archives for com ports. Works perfectly. I then displayed this data on a graph but its very slow and so converted the graph to blitzmax for improved performance. Would vertex's com port method work if I converted that code to bmax or would I need to do it differently?

This is the link to the code archives: http://blitzmax.com/codearcs/codearcs.php?code=1383

unfortunately it seems that Nigel Browns modules are not online! :(

Many thanks


markcw(Posted 2010) [#2]
I'm sure vertex's code would convert to Max fine, it would still be Windows only of course.

There was a thread about COM ports recently (see Simple COMs Handler Linux) where I posted a link to Nigel Brown's COM module, and I think Brucey's wxCTB is the only working COM code for Mac.


NoOdle(Posted 2010) [#3]
ok brilliant, ill try converting Vertex's code. Windows only is fine. thanks!


Nigel Brown(Posted 2010) [#4]
oops, I think I removed them for space reasons will put them back this evening.