Script execution

This commit is contained in:
boccioli_m
2015-06-03 15:26:01 +02:00
parent d1e4649ff3
commit 11c3226a60
+4 -8
View File
@@ -1,9 +1,5 @@
#Pre-actions
PVSET = 'PO2DV-NCS-VHQ1:Set-RampA'
PVGETACTUALVA = 'PO2DV-NCS-VHQ1:Actual-VA'
PVGETACTUALIA = 'PO2DV-NCS-VHQ1:Actual-IA'
caput(PVSET, '10')
caput('PO2DV-NCS-VHQ1:Set-RampA', '10')
sleep(0.1)
#TODO: Set the diplay names of positioners and detectors
@@ -13,12 +9,12 @@ scan.start()
#Creating channels: dimension 1
#LinearPositioner SetVA
SetVA = Channel(PVSET, type = 'd')
SetVA = Channel('PO2DV-NCS-VHQ1:Set-VA', type = 'd')
#Timestamp time
#ScalarDetector ActualVA
ActualVA = Channel(PVGETACTUALVA, type = 'd')
ActualVA = Channel('PO2DV-NCS-VHQ1:Actual-VA', type = 'd')
#ScalarDetector ActualIA
ActualIA = Channel(PVGETACTUALIA, type = 'd')
ActualIA = Channel('PO2DV-NCS-VHQ1:Actual-IA', type = 'd')
#set voltage to 0
print 'Ramping down power supply to 0V'