Urcap with RTDE comunication

Hello everyone,

I have been trying to make an URcap for few weeks and I have question about RTDE.

From the begining. I would like to have URcap that everyday starts to read robot data just like UR log viewer (acceleration, current, current limit) and write those data into robot memory. I already done in using Real-Time connection but there is lack of information that can get (there is no current limit data for example). I’m thinking about change connection to RTDE but I’m not sure how to properly send first parameters to the robot and then read it.

This is code that I’m using so far:
forum

Second question: Is there different solution without using Real-Time or RTDE? For example register reading?

I will be grateful for any help.

Best,
Filip