Script execution

This commit is contained in:
boccioli_m
2015-06-16 16:10:10 +02:00
parent d538a2bfe2
commit d596ca3029

View File

@@ -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