Remote control by ur_rtde using c++ and also using windows

hello everyone
I am beginner for robot control. Now i’m trying to control ur5e using c++ and rtde. And also, I am working on ur_rtde 1.5.1. but it doesn’t work. Should i upload script code to the robot? Please help me in this situation.

I connected pc to robot and operating robot. But, could not receiving data from robot using ur_rtde. Please help me?

when i trying to get data from robot, i just get “Unable to start synchronization”.