Universal Robots Forum

Possible to obtain the value of variable on dashboard server

I have happend to find dashboard command to obtain the values of variables that is undescribed in manual.

This feature is very useful for checking the state of robot program flow remotely!

ex: getVariable var_1


Interesting. How did you discover this? I wonder if it is possible to set a variable from the Dashboard Server.

I sent the letters “getVariable Model” to dashboard by mistake when using the function “getVariableModel” in programming urcap.

So I happend to confirm the value returned from dashboard.

Have you found out whether it’s possible to “set” a variable via dashboard server? I have tried several combinations of “setvariable var_1”, “set var_1”, and/or “set_variable var_1” with no success. The getvariable <desired_variable> works for both installation variables and currently running program variables, good find!