Rtde: Can read and write but not move robot

Hi I am running rtde and am using the UR example_control_loop.py file. I am able to read state variables from the robot and is_connected() returns True. However, when I send() positions to the robot it does not move. The robot does move when connected via Robot Operating System (ROS) but not when connected via rtde.