Just wondering what is wrong with my test script.
import socket
import time
HOST = '169.254.63.28'
PORT = 30002
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
i = 1
while i < 2:
s.send(("set_digital_out(0,True)"+"\n").encode('utf8'))
time.sleep(0.5)
s.send(("set_digital_out(0,False)"+"\n").encode('utf8'))
time.sleep(0.5)
s.send(("popup(hey, title='halt', warning=True, blocking=True)"+"\n").encode('utf8'))
s.send(("movej([-1.200691048298971, -1.6863962612547816, -1.206042766571045, \
-1.8198558292784632, 1.5693081617355347, 1.914101481437683], \
a=1.200691048298971, v=1.200691048298971" + "\n").encode('utf8'))
time.sleep(5)
s.send(("movej([-1.2551572958575647, -1.7164651356139125, -1.762454628944397, \
-1.2335349184325715, 1.5693681240081787, 1.859632134437561], \
a=1.200691048298971, v=1.200691048298971" + "\n").encode('utf8'))
time.sleep(5)
The only thing working is digital_out_0 switching on and off
But no popup or movement of the arm.