Thanks for the answer.
I'm using cython, so in a way I'm linked to the Xenomai libraries, and I don’t know if this makes a difference. The python->xenomai messages are working. Can I trust this? Also, I just found about buffers, should they work? Or as you said previously, I should stick with pipes? Thanks again 2013/7/26 Philippe Gerum <[email protected]> > On 07/26/2013 09:28 PM, Ricardo Amézquita wrote: > >> Hello All >> >> I'm writing a simple wrapper in python to be able to control some >> real-time >> processes. To communicate between the real-time process, and the python >> process I'm using native queues. Sending messages from the python process >> to the realtime process is working fine, but when I try to send a message >> from the realtime process to the python process, I'm having problems. >> Using >> rt_queue inquire, I know that the message is in the queue, but the receive >> function in the python side, never receives it. >> >> Is there a limitation that apply to my application? I have tested with >> pipes, and it works, but I want to implement everything using queues. >> >> > If your python process is not supposed to run Xenomai services at all, > i.e. mere Linux application not even linked with the Xenomai libraries, > then message pipes are definitely what you are looking for. Queues won't > work, since the python side won't be allowed to receive from a real-time > queue. > > -- > Philippe. > -- Ricardo Amézquita O Combustión Ingenieros Ltda Cll 25B # 85B - 76, Bogotá / Colombia Tel: 57-1-2635232 Fax: 57-1-4296516 http://www.cihologramas.com _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
