RobotStudio event

how to check variable value in RS RAPID

Options

Hi all:

I'm not familiar with debugging RAPID code in RS. How can I check a variable's value? Right-clicking obviously doesn't work. Can I output a message to the user interface stating the value?

The debugging tools (step in, step out) that come with RAPID sometimes doesn't work smoothly either.

Thanks,

Sam

chen2008-7-24 17:5:9

Comments

  • Mikael
    Options

    Hi Sam,

    If you want to add a watch to a rapid variable in RS you just have to drag-and-drop the variable to the "RAPID Watch" table at the lower part of your screen. Just select it in your code and drag it to the table.

    It is shown right next to the "Output" screen as default. If you don't see it you can activate it via the "View->RAPID Watch" menu.

    Hope this will help you.

    Best Regards,

    Mikael