Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Rhapsody, QNX, and Photon Application Builder: (4 Items)
   
Rhapsody, QNX, and Photon Application Builder  
Hello All,

I am using IBM/Telelogic Rhapsody (v 7.5) together with QNX (v 6.4.1) for a development of a new application. The 
application will have a GUI which I would like to create with the Photon Application Builder. Does anyone have 
experience developing applications with Rhapsody and PhAB? What is the recommended way to communicate between the two 
processes? The User of the application should be able to enter information via the GUI as well as see run time control 
data on the GUI. Or is it recommended to program the GUI without the PhAB and to call the Photon library functions 
directly from the Rhapsody Model/code? It would be nice to have a solution using the PhAB since it greatly simplifies 
the creation of Windows and their layout.

Thank you for you help

Cheers

Marcel 
RE: Rhapsody, QNX, and Photon Application Builder  
Hi Marcel,

Would the Rhapsody be a separate process?  You could just use IPC
between the processes, sending messages for control back-and-forth.  You
can program your GUI layout using phab, the use a Photon API called
PtAppAddInput() and/or PtAppAddFd() if you wish to use 'fd' based
communication.

Kind Regards,
-Derek

-----Original Message-----
From: Marcel Meerstetter [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 13, 2009 9:48 AM
To: photon-graphics
Subject: Rhapsody, QNX, and Photon Application Builder

Hello All,

I am using IBM/Telelogic Rhapsody (v 7.5) together with QNX (v 6.4.1)
for a development of a new application. The application will have a GUI
which I would like to create with the Photon Application Builder. Does
anyone have experience developing applications with Rhapsody and PhAB?
What is the recommended way to communicate between the two processes?
The User of the application should be able to enter information via the
GUI as well as see run time control data on the GUI. Or is it
recommended to program the GUI without the PhAB and to call the Photon
library functions directly from the Rhapsody Model/code? It would be
nice to have a solution using the PhAB since it greatly simplifies the
creation of Windows and their layout.

Thank you for you help

Cheers

Marcel 



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post35909
Re: RE: Rhapsody, QNX, and Photon Application Builder  
Hello Derek,

The way I understand it is that if I were to use the PhAB, there would have to be two Processes, since PhAB creates its 
own process and Rhapsody would too. I will look into your recommendation of using the API functions called 
PtAppAddInput() and PtAppAddFd(). 

Thanks for the help,

Marcel
RE: RE: Rhapsody, QNX, and Photon Application Builder  
Hi Marcel,

With the PhAB, or Photon in general, it is possible to put everything in
one process, I just think it will be cleaner, and easier to maintain if
both are in separate processes.  The only time I would consider one
process is if the IPC was causing too much overhead, but even then, it
could be a problem of the designed system.  One advantage of separate
processes, is if the GUI goes down, the control process can keep
running, and vice versa.

If you need any more ideas, do not hesitate to ask.

Kind Regards,
-Derek

-----Original Message-----
From: Marcel Meerstetter [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 13, 2009 11:17 AM
To: photon-graphics
Subject: Re: RE: Rhapsody, QNX, and Photon Application Builder

Hello Derek,

The way I understand it is that if I were to use the PhAB, there would
have to be two Processes, since PhAB creates its own process and
Rhapsody would too. I will look into your recommendation of using the
API functions called PtAppAddInput() and PtAppAddFd(). 

Thanks for the help,

Marcel



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post35919