IO.getValueStr() from a general purpose register returns "" / nothing?

Hey there,

is the IO.getValueStr() only working for digital/analog inputs/outputs?
I thought i could use it to read the values of general purpose registers,
but its just returns a empty string … :unamused:

Thanks for answers…

1 Like

Unfortunately getValueStr() does not work with general purpose registers. Have a look here:

Thanks for your reply a.mora!

@UR-Team please update your api reference, for me - and i think for ohters too - it is not clear that the registers values are not accesible, see api reference IO class and getValueStr() as well isResolvable() methods. You could save some customers time and avoid repetitiv questions in the forum.

3 Likes

Hi!

I am sorry for bothering almost a year later but i am still confused on this issue: my goal is to read/write general purpose registers but i can not find a way to achieve this goal.

In your opinion, could this be possible by defining a new RTDE client in order to implement this goal? Or is it something not possible to achieve since the values of the registers are not accessible?

Thank you for your cooperation

Serena

1 Like