Script execution
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#Script imported from: Check Linearity LS.xml
|
||||
|
||||
#Pre-actions
|
||||
p = subproccess.Popen('/bin/sleep 2' +, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
p.communicate()
|
||||
ret = p.returncode
|
||||
#p = subproccess.Popen('/bin/sleep 2' +, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
#p.communicate()
|
||||
#ret = p.returncode
|
||||
if ret <> true:
|
||||
raise Exception('Script returned with an exit value not equal to 0')
|
||||
caput('PO2TC-NCS-LS:MOTOR.VELO', '50')
|
||||
|
||||
Reference in New Issue
Block a user