# IRMQMessage parameter error

**URL:** https://tech-community.robotics.abb.com/t/irmqmessage-parameter-error/7137
**Category:** RobotStudio
**Tags:** robotstudio, error
**Created:** [May 6, 2016, 10:28am UTC](https://tech-community.robotics.abb.com/t/irmqmessage-parameter-error/7137 "2016-05-06T10:28:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![medinadan](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@medinadan](https://tech-community.robotics.abb.com/u/medinadan)
#### Post date: [May 6, 2016, 10:28am UTC](https://tech-community.robotics.abb.com/t/irmqmessage-parameter-error/7137/1 "2016-05-06T10:28:14Z")

</div>

Hi all,

At the beginning of my code I have the RMQ configuration (code at the end).  
Randomly I am getting a “41690- Parameter error” on the last IRMQMessage operation.  
I do not understand this error, most of the time works fine.

I also tried to catch the error, but it do not enter into the ERROR section.  
I need to make this part of the code stable.

Any suggestion will be appreciated.

Best regards,  
Daniel M.

* * *

‘data\_\*’ are variables of a record type.

PROC RMQ\_config()  
IDelete i\_msgrec;  
IDelete i\_msgrec2;  
IDelete i\_msgrec3;  
CONNECT i\_msgrec WITH RMQ\_handler;

CONNECT i\_msgrec2 WITH RMQ\_handler;  
CONNECT i\_msgrec3 WITH RMQ\_handler;  
IRMQMessage data\_comm, i\_msgrec;

IRMQMessage data\_stop, i\_msgrec2;  
IRMQMessage data\_tray, i\_msgrec3;  
ENDPROC
