source: branches/fscctrl_safety_limits/ScriptsForDimCtrl/AmplVsOv.dim

Last change on this file was 14285, checked in by Jens Buss, 12 years ago
put the drive system status check in to the separate script
File size: 1.5 KB
Line 
1#!dimctrl --exec
2
3# ==========================================================================
4# Amplitude vs. Voltage Offset Measurement
5
6# ==========================================================================
7# Script for Amplitude vs. Voltage Offset Measurement
8
9# call it by: .x ScriptsForDimCtrl/AmplVsOv.dim V=<voltage_offset_value>
10
11# ----------------------------------------------------
12
13
14> changing feedback voltage offset to ${V}
15
16FEEDBACK/STOP # STOP FEEDBACK
17.w 1000 # wait 1 second
18
19FEEDBACK/START_CURRENT_CONTROL ${V} # set Current_Control to given Offset value
20
21> ...checking if Voltage is ON
22# will ramp if not at nominal, will skip ramping if Voltage on
23.s BIAS_CONTROL 7 3000 1
24> Voltage is OFF, will ramp to nominal Voltage
25BIAS_CONTROL/SET_GLOBAL_DAC 1
26.s BIAS_CONTROL 9
27.s BIAS_CONTROL 5
28> ...ramping
29.s BIAS_CONTROL 9
30
31:1
32> Voltage is ON, waiting 45 sec for current_control to stabilize
33.w 42000 # wait 30 second for the current updates
34
35> OPERATOR: Write down: V_offset ${V}, Med(V), Med(I) and the Run number to the Excel file
36
37> starting LPext with 1000 Events # start external Lightpulser Run with 1000 Events
38# take a ExtLP run
39.x ScriptsForDimCtrl/ServiceScripts/IsTracking.dim
40.x ScriptsForDimCtrl/ServiceScripts/TakeExtLpRun.dim
41
42FEEDBACK/STOP # STOP FEEDBACK
43> ...Feedback stopped
44>
45> OPERATOR: make sure to restart the feedback with the correct offset when resuming data taking
46>
47> ...done
Note: See TracBrowser for help on using the repository browser.