RoboDK Forum
Using python libraries while online programming a KUKA robot——革命制度党ntable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Using python libraries while online programming a KUKA robot (/Thread-Using-python-libraries-while-online-programming-a-KUKA-robot)



Using python libraries while online programming a KUKA robot-parisgg-05-07-2018

Hi,

I want to control the serial port of my computer with pyserial while running a robot movement in one python script.

For example,

MoveJ(Position[1])

ser = serial.Serial(0)
ser.rts(False)

MoveJ(Position[2])