UR RTDE, Variables

I was playing little bit with rtde, and was able to estahlish the connection and run some examples that comes with the rtde package. Now i wanted to keep track of some local variables/ installation variables named “counter” which is updated from the program. Can anybody guide me how one can record these variables using record.py ?

One suggestion is to instrument your code to store the variable value with the following instruction (if counter is a integer variable)

write_output_integer_register(30, counter)

Then add the following row in the to your record_configuration.xml file

Then the value of “counter” (at the time when stored in the register) will turn up in your log file.
Best regards
Magnus

1 Like

Thank you very much !!