Xojo Conferences
MBSOct2019CologneDE

Serial under OS-X? (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Re: "I feel the need for speed" (string)
Next thread: socks -- how do i use them?


RE: Image Scaling in an Image Well   -   Edward Cox
  Serial under OS-X?   -   Paul Dobbs
   Re: Serial under OS-X?   -   James Sentman
   Re: Serial under OS-X?   -   Thomas W. Gower
   Re: Serial under OS-X?   -   Chris Smolinski

Serial under OS-X?
Date: 08.05.02 23:16 (Wed, 08 May 2002 17:16:52 -0500)
From: Paul Dobbs
I've been researching this lately, and the references that I have found
don't all agree. What I need to know is: If I purchase a USB-to-serial
adapter, can I write a carbon program to run under OS-X which will
communicate with a serial device that I have? (If there are any model
railroaders on the list, you may be interested to know that the device is a
DCC command station.)

If anyone has had any luck with this sort of thing, could your recommend a
brand/model of USB-to-serial adapter?

Thanks
Paul
------------------------------------------------------------
| Paul Dobbs | |
| <email address removed> | http://webpages.charter.net/dobbsp |
| <email address removed> | |
------------------------------------------------------------
There is no evil in the atom; only in men's souls. -- Adlai Stevenson


---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Serial under OS-X?
Date: 08.05.02 23:37 (Wed, 8 May 2002 18:37:44 -0400)
From: James Sentman
>I've been researching this lately, and the references that I have found
>don't all agree. What I need to know is: If I purchase a USB-to-serial
>adapter, can I write a carbon program to run under OS-X which will
>communicate with a serial device that I have? (If there are any model
>railroaders on the list, you may be interested to know that the device is a
>DCC command station.)
>
>If anyone has had any luck with this sort of thing, could your recommend a
>brand/model of USB-to-serial adapter?
>

Can't remember exactly where and I'm too lazy to check the release
notes, but the last version, 4.0.2, works just fine with any
supported USB/Serial adaptor. I use a lot of keyspan hardware so I
know first hand that they work.

The only limitation that I know about is that a carbon compiled
program will not see ports when run under OS9. You have to do a
regular classic compile for that and carbon only for OSX.

-James

Re: Serial under OS-X?
Date: 09.05.02 12:14 (Thu, 09 May 2002 07:14:56 -0400)
From: Thomas W. Gower
> I've been researching this lately, and the references that I have found
> don't all agree. What I need to know is: If I purchase a USB-to-serial
> adapter, can I write a carbon program to run under OS-X which will
> communicate with a serial device that I have? (If there are any model
> railroaders on the list, you may be interested to know that the device is a
> DCC command station.)
>
> If anyone has had any luck with this sort of thing, could your recommend a
> brand/model of USB-to-serial adapter?
>
> Thanks
> Paul
Paul,

Suggest that you join the Yahoo!Group for MAC_DCC. Evidentially a lot of
the people there are using the Keyspan USB/Serial adapter. The Yahoo group
has lots of good information. I'm using RealBasic to communicate with my
Digitrax Super Chief system but that's on a older PowerBook that has the
RS422 port on it. Works for me!

Regards,
Tom Gower

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Serial under OS-X?
Date: 09.05.02 11:58 (Thu, 09 May 2002 06:58:44 -0400)
From: Chris Smolinski
> From: "Paul Dobbs" <<email address removed>>
> I've been researching this lately, and the references that I have found
> don't all agree. What I need to know is: If I purchase a USB-to-serial
> adapter, can I write a carbon program to run under OS-X which will
> communicate with a serial device that I have? (If there are any model
> railroaders on the list, you may be interested to know that the device is a
> DCC command station.)
>
> If anyone has had any luck with this sort of thing, could your recommend a
> brand/model of USB-to-serial adapter?

I use the units made by Keyspan, and they work great. As someone else
mentioned, if you also want your program to work under Classic, you will
need to release a separate Classic version, the Carbon version won't
work.

Also, the behavior of the serial object changed in RB 4 when support for
OS X was added. If you need to change the physical port, you need to
destroy the serial object and create a new one. You cannot just change
the port. This used to work, but no longer does. This could be an issue
if you have say a popup menu showing the available ports on a system,
and allow the user to change the port.

Chris Smolinski
Black Cat Systems
http://www.blackcatsystems.com/

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>