Script execution
This commit is contained in:
+2
-2
@@ -190,7 +190,7 @@ class RobotTCP(TcpDevice):
|
||||
|
||||
def poll_events():
|
||||
ev = self.read_event()
|
||||
if ec is not None:
|
||||
if ev is not None:
|
||||
self.getLogger().info(ev)
|
||||
on_event(ev)
|
||||
|
||||
@@ -213,4 +213,4 @@ class RobotTCP(TcpDevice):
|
||||
|
||||
add_device(RobotTCP("robot_tcp", "129.129.126.100:1000"), force = True)
|
||||
robot_tcp.setPolling(500)
|
||||
robot_tcp.set_monitor_speed(20)
|
||||
#robot_tcp.set_monitor_speed(20)
|
||||
Reference in New Issue
Block a user