# IRMQMessage not available in RAPID

**URL:** <https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862>\
**Category:** Developer Tools\
**Created:** [May 19, 2008, 11:33am UTC](https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862 "2008-05-19T11:33:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaWi81](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MaWi81](https://tech-community.robotics.abb.com/u/MaWi81)\
**Post date:** [May 19, 2008, 11:33am UTC](https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862/1 "2008-05-19T11:33:18Z")

</div>

Hi!

When using the “Messaging domain” example of RAB’s manual `CONNECT connectnum WITH RABMsgs;
IRMQMessage flag, connectnum;`with the IRC5 I get the following error.

> [@](#):
>
> Error 161 : Option is missing. : The instruction IRMQMessage requires the option FlexPendant Interface.

I DO use the required “FlexPendant Interface” option (see picture) in RobotStudio so what is wrong? Restarting RobotStudio and the controller did not chance anything.

---

<div class="post-metadata">

**Author:** ![RussD](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RussD](https://tech-community.robotics.abb.com/u/RussD)\
**Post date:** [May 19, 2008, 3:38pm UTC](https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862/2 "2008-05-19T15:38:33Z")

</div>

Maybe it doesn’t work with Virtual IRC5, but also it is not implemented for the FlexPendant until 5.11.

---

<div class="post-metadata">

**Author:** ![Ingela](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@Ingela](https://tech-community.robotics.abb.com/u/Ingela)\
**Post date:** [May 19, 2008, 4:15pm UTC](https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862/3 "2008-05-19T16:15:43Z")

</div>

Hello,

It should work with Virtual IRC5. I see that you are using virtual keys for the robot system and wonder if this might be the the reason for failure. I will come back to you with more information, meanwhile you can test using real keys. (Or if possible a real robot system).

(The system parameter _RmqType_ must be set to **Remote** to allow messaging between RAPID and PC SDK\*\*,\*\* as described in User’s Guide.)

(Also, as Russ mentions the FP SDK, the same functionality in the FP SDK will not be public for everyone to use in 5.11. Before releasing it we will hide some of the complexity in sending the data for SDK users. It is rather tricky today, as hinted in User’s Guide:

NOTE!The IpcMessage.Data is set and retrieved as a byte array, SetData(byte data) and byte GetData(). This means you must convert the message data string to a byte array before calling the SetData method. It may look like this in C#:Byte data = new UTF8Encoding().GetBytes(“string;“Hello world””);

---

<div class="post-metadata">

**Author:** ![MaWi81](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MaWi81](https://tech-community.robotics.abb.com/u/MaWi81)\
**Post date:** [May 20, 2008, 1:57pm UTC](https://tech-community.robotics.abb.com/t/irmqmessage-not-available-in-rapid/1862/4 "2008-05-20T13:57:26Z")

</div>

Problem “solved”: Cold start required to change the system’s options. Warm start does not change the options. Thank you anyway and sorry for wasting your time..

:stuck\_out\_tongue:
