Script execution
This commit is contained in:
@@ -6,7 +6,7 @@ ret = 'Test failed'
|
||||
status = False
|
||||
DEVICE = 'PO2DV-NCS-VHQ1'
|
||||
|
||||
scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [20.0], [10])
|
||||
scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [10.0], [10])
|
||||
scan.start()
|
||||
|
||||
#Creating channels: dimension 1
|
||||
@@ -41,7 +41,7 @@ for setpoint1 in frange(0.0, 120.0, 1.0, True):
|
||||
#Dimension 1
|
||||
#LinearPositioner SetVA
|
||||
print 'Ramping up power supply'
|
||||
for setpoint1 in frange(0.0, 20.0, 10.0, True):
|
||||
for setpoint1 in frange(0.0, 10.0, 10.0, True):
|
||||
if setpoint1 > 50.0 or setpoint1 < 0.0:
|
||||
break
|
||||
SetVA.put(setpoint1, timeout=None) # TODO: Set appropriate timeout
|
||||
|
||||
Reference in New Issue
Block a user