Rotation of single joints

Hello all,

at the moment, I’m writing and testing a python script to control the UR10 with RTDE. I wonder how it is possible to rotate a single joint an keep the rest of the robot steady. Has anyone an idea?

Kind regards