Universal Robots Forum

Setting input registers with RTDE and reading them in a URCap GUI?

Hello,

I’m working my way through tutorials and such still but am stuck on how something like the python RTDE (python download at bottom) script would interact with a URCap.

My understanding is that the script example_control_loop.py is writing to input double registers. Is it possible to read these values from within a URCap node view with a button callback for instance?

My end goal is to have my external system post values to the UR registers, then the operator could see these values on the urcap gui before executing the program…

Any help correcting my understanding of how RTDE and URCap work together or how I would read the registers from the node view would be very helpful.

Thanks!

Edit: I have just found Fujikit’s monitor… it seems to do something like this I would need to implement the RTDE interface in Java as is done here?

Using the RTDE part of eipmonitor repo that @fujikit made was indeed the answer.

I made a new class for my needs based on the example of RTDEClientOfDoubleRegister class and was able to read the registers very easily. Awesome work @fujikit!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.