IRMQMessage parameter error

in RobotStudio
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()
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
Tagged:
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings