Project

General

Profile

VLD EPICS development » History » Version 4

Bryan Moffit, 02/10/2023 10:18 PM

1 1 Bryan Moffit
h1. VLD EPICS development
2
3
h2. Run the IOC
4
5
* log into hccoda@nps-vme4 from a terminal
6
<pre>
7
ssh hccoda@nps-vme4
8
</pre>
9
* execute startup script (located in $HOME/bin)
10
<pre>
11
startIOC
12
</pre>
13
14
h2. Calibration test script
15
16 4 Bryan Moffit
Enable / disable the random pulser to the connector and channels defined in the script.
17
18 1 Bryan Moffit
* log into hccoda@cdaql3 from a terminal
19
<pre>
20
ssh hccoda@cdaql3
21
</pre>
22
* execute calibration test script
23
<pre>
24
cd $HOME/scripts/VLD
25
./vld_calibration_test [0,1]
26
</pre>
27
> * Usage
28
<pre>
29
  vld_calibration_test.sh [0,1]
30
                     0: disable
31
                     1: enable
32
33
</pre>
34
35
> * Script variable description
36
> > * *VLDSLOT*
37 4 Bryan Moffit
> > > IOC Base name + VLD Slot number.  This is defined by the IOC startup script.  Currently vme4 for nps-vme4, and VLD17 for the VLD in that crate.
38 1 Bryan Moffit
39
> > * *PULSER_SETTING*
40
> > > Enum for random pulser setting
41
<pre>
42
 0: 700kHz
43
 1: 350kHz
44
 2: 175kHz
45
 3: 87.5kHz
46
 ...
47
 7: 5.5kHz
48 4 Bryan Moffit
 ...
49
15: 21 Hz
50 1 Bryan Moffit
</pre>
51 2 Bryan Moffit
52
> > * *TRIG_SOURCE*
53
> > > Source to trigger pulser
54
<pre>
55
 0: always high (should be Periodic trigger),
56
 1: random trigger only
57
 2: FP_trigger
58
</pre>
59
60
> > * *C0_LOW_MASK*, *C0_HIGH_MASK*, *C1_LOW_MASK*, *C1_HIGH_MASK*, etc..
61 3 Bryan Moffit
> > > Connector channel enable bitmasks.  E.g. to enable connection 0's channel 0 and 1, 
62 2 Bryan Moffit
<pre>
63 1 Bryan Moffit
C0_LOW_MASK=0x3
64 4 Bryan Moffit
</pre>
65
66
h2. Square wave pulse script
67
68
Set the pulse waveform to a square wave with specified width and amplitude
69
70
* log into hccoda@cdaql3 from a terminal
71
<pre>
72
ssh hccoda@cdaql3
73
</pre>
74
* execute square wave pulse script
75
<pre>
76
cd $HOME/scripts/VLD
77
./vld_square_pulse.sh [width] [amplitude]
78
</pre>
79
> * Usage
80
<pre>
81
  vld_square_pulse.sh [width] [amplitude]
82
                     width: steps of 2ns [0, 1000]
83
                     amplitude: DAC setpoint at each step [0, 63]
84
85 2 Bryan Moffit
</pre>