GUI & communications

bridged with qdn.public.photon
Post Reply
Polczer Eszter

GUI & communications

Post by Polczer Eszter » Mon Nov 03, 2003 9:16 am

Hi all!

I made a GUI by PhaB. It's a simulator. It displays incoming information,
and generates outputs. To do this, I wrote a non-photon application (an IO
process) too, which does the communication with the I/O card (reads and
writes values to the port). The two process communicate via pulses and
Send/Receive/Reply messages. When there is something to display the IO
process sends a pulse to the GUI, the GUI does a Send to get the data and
displays it. It works fine. But I have a problem: till the GUI is waiting
for IO pulses it can't handle user interactions: the user can't push
buttons, generate outputs and can't stop simulation.

Have somebody a good idea how to solve this problem?

Thanks,

Eszter Polczer
Engineer Student

huang

Re: GUI & communications

Post by huang » Mon Nov 03, 2003 10:14 am

Why not use thread ?

Post Reply

Return to “qdn.public.photon”