[futurebasic] Re: [FB] Mac serial ports

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2003 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Tue, 28 Jan 2003 11:22:27 -0500
>Track down a Keyspan USB to dual serial adaptor ($40 or so) which 
>provides 2 old-fashioned mini-DIN 8 serial ports which can be 
>fiddled just like the old serial ports.


I've found them for $19.95 -- somewhere.

>Use something of this general sort:
>
>fn FBInitserialports
>long if gFBHasComTB%
>for i% = 1 to gFBSerialPortCount%
>WINDOW _details : CLS :
>PRINT "Checking ";i%;" of ";gFBSerialPortCount%;" -> "; gfbserialname$(i%)
>
>gfbserialname$(i%) provides a list of the text names of the new 
>ports, and they can be opened by:
>
>open "C",#port,9600,_noparity,_onestopbit,_eightbits,2000
>
>Your DVM will likely use 2400 baud though


My concern is that is writing code using "open "C",#port,9600,_..." 
going to do it? After all, we are using a USB port and from whatever 
I've read and heard, that's a completely different ball game -- is it 
not? (i'm starting to sound gnome-like).

tedd
-- 
http://sperling.com