Project

General

Profile

VLD EPICS development » History » Version 2

Bryan Moffit, 02/06/2023 01:02 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
* log into hccoda@cdaql3 from a terminal
17
<pre>
18
ssh hccoda@cdaql3
19
</pre>
20
* execute calibration test script
21
<pre>
22
cd $HOME/scripts/VLD
23
./vld_calibration_test [0,1]
24
</pre>
25
> * Usage
26
<pre>
27
  vld_calibration_test.sh [0,1]
28
                     0: disable
29
                     1: enable
30
31
</pre>
32
33
> * Script variable description
34
> > * *VLDSLOT*
35
> > > IOC Base name + VLD Slot number.  This is defined by the IOC startup script.  Currently vme4 for nps-vme4, and Slot17 for the VLD in that crate.
36
37
> > * *PULSER_SETTING*
38
> > > Enum for random pulser setting
39
<pre>
40
 0: 700kHz
41
 1: 350kHz
42
 2: 175kHz
43
 3: 87.5kHz
44
 ...
45
 7: 5.5kHz
46
</pre>
47 2 Bryan Moffit
48
> > * *TRIG_SOURCE*
49
> > > Source to trigger pulser
50
<pre>
51
 0: always high (should be Periodic trigger),
52
 1: random trigger only
53
 2: FP_trigger
54
</pre>
55
56
> > * *C0_LOW_MASK*, *C0_HIGH_MASK*, *C1_LOW_MASK*, *C1_HIGH_MASK*, etc..
57
> > > Connector channel enable bitmasks.  E.g. to enable channel 0 and 1, 
58
<pre>
59
C0_LOW_MASK=0x3
60
</pre>