Doing Serial port programming on MAC 10.6

Joined
Aug 4, 2010
Messages
1
Reaction score
0
Points
1
Dear All,
I'm new to MAC 10.6 and XCode development and need advice from you.
I have to develop a program to access a hardware system connected via serial port and do some real time communication with it. There are some requirements to display the data in graphical format such as graph and charts also.

1. XCode in MAC is a best option or any other better alternatives ?
2. What is your recommended language to work with, Object C, C++ or Java ( considering both serial port communication and UI development)
2. Any help to find some sample codes to access serial port ?

Thanks in Advance !!
Chinthaka
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
As hinted here, you'll need a serial adapter for USB, or a serial card for the towers may be an option.

If you are doing GUI development, then yes, use XCode, Interface Builder, and Objective-C. In other words, use the standard Apple tool set. Objective-C is a super set of standard C.

Serial code samples should be similar to any similar BSD Unix type system. Of course I would expect that your adapter will need the appropriate drivers installed first.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top