Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
I am building a linux/windows test program to transfer data between a ADSP2191 and PC running a Java interface. My Questions are..... Is there a generic c++ serial class availiable that works on Linux and Windows... or must I have two separate sets of code one using TERMIO and another using a MFC? Is socket programming the best way to get data from one process to another (say between a C++ program and Java program?)? Thanks, Tim Dahlin |
|
|
|
--On Tuesday, October 07, 2003 2:28 AM +0000 duhlynn <> wrote: > I am building a linux/windows test program to transfer data between a > ADSP2191 and PC running a Java interface. > > My Questions are..... > Is there a generic c++ serial class availiable that works on Linux > and Windows... or must I have two separate sets of code one using > TERMIO and another using a MFC? Take a look at http://www.wxWindows.org/ for a good cross-platform C++ framework. There's no serial class in the regular framework, but I found one designed to fit in the wx style after asking on the associated newsgroup (which mirrors the user mailing list). A number of "contributed" classes are available that extend the base framework to add functionality like this. > Is socket programming the best way to get data from one process to > another (say between a C++ program and Java program?)? Java would be the unknown for me, but I know that it supports sockets, and the wx framework includes network classes to make it easy to move your networking code between Windows, Linux, Mac, OS/2, and other platforms. BTW, the new Borland IDE, BuilderX, has adopted wx as its framework system. |
|
|
|
Ken, Do you have a website link with the serial class for the wxwindows framework? or can you post the source you obtained somewhere? I'll check the newsgroup archives as you suggested. Thanks, Tim Dahlin --- In , Kenneth Porter <kenneth_porter@k...> wrote: > --On Tuesday, October 07, 2003 2:28 AM +0000 duhlynn <duhlynn@y...> wrote: > > > I am building a linux/windows test program to transfer data between a > > ADSP2191 and PC running a Java interface. > > > > My Questions are..... > > Is there a generic c++ serial class availiable that works on Linux > > and Windows... or must I have two separate sets of code one using > > TERMIO and another using a MFC? > > Take a look at http://www.wxWindows.org/ for a good cross-platform C++ > framework. There's no serial class in the regular framework, but I found one > designed to fit in the wx style after asking on the associated newsgroup > (which mirrors the user mailing list). A number of "contributed" classes are > available that extend the base framework to add functionality like this. > > > Is socket programming the best way to get data from one process to > > another (say between a C++ program and Java program?)? > > Java would be the unknown for me, but I know that it supports sockets, and the > wx framework includes network classes to make it easy to move your networking > code between Windows, Linux, Mac, OS/2, and other platforms. > > BTW, the new Borland IDE, BuilderX, has adopted wx as its framework system. |
|
|
|
--On Wednesday, October 08, 2003 6:13 PM +0000 duhlynn <> wrote: > Do you have a website link with the serial class for the wxwindows > framework? or can you post the source you obtained somewhere? I'll > check the newsgroup archives as you suggested. I think this is what you want (not at the office right now): <http://www.iftools.com/> The class is wxCTB. |