[aplusdev] adap (IPC) vs Python shm module
John.Mizel at msdw.com
John.Mizel at msdw.com
Fri Mar 30 13:51:04 EST 2001
Alexei,
If your python is sending character data you can use the `raw protocol to
read it. This protocol can generate multiple `read events for a "single"
message, and it is the A+ application that determines when it has received
a complete message.
The `string protocol is also character based, but expects 4 bytes
pre-pended to the message containing its length. This protocol doesn't
generate a `read event until it has the complete message. The header
information is stripped from the data that is delivered to the callback
function.
Thanks,
John
On Fri, 30 Mar 2001, Alexei Zalivine wrote:
> Hello,
>
> Is there adap standart IPC protocol? If so, please help me.
> My python program sending to memory char strings each 0.5 sec. The keys are
> 0x100, 0x101, 0x200 and 0x201. How I can read data from memory using adap
> (or other interface)?
>
> Thank you,
>
> Alexei.
>
>
More information about the apluslist
mailing list