This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX51-Full converting fonction to task

Hello all,
Can someone help me with converting a specific function (that receive various parameters) to task function?
I'm working with RTX51-Full and I know that maybe the way to do it is to use the system operation - "os_send_message", but I'm not sure.
The function is:
"void send(bit type, SND_MSG sndMsg, PRTCL_FLD prtclFld, uchar protocol)"

P.S. I can't make those variables global.

Thanks a lot,
Roberto

Parents
  • There is not very much information about your
    specific problem.

    os_send_message allows you to send a 2 byte
    value to a task. This value also gets stacked, i.e. you can send more than one value.

    If you need a memory image, you can use the memory pool functions of RTX51 and you can send the address of the memory pool to other
    functions using os_send_message.

Reply
  • There is not very much information about your
    specific problem.

    os_send_message allows you to send a 2 byte
    value to a task. This value also gets stacked, i.e. you can send more than one value.

    If you need a memory image, you can use the memory pool functions of RTX51 and you can send the address of the memory pool to other
    functions using os_send_message.

Children
No data