VLD EPICS development » History » Version 7
Bryan Moffit, 02/15/2023 01:37 AM
| 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> |
| 86 | 5 | Bryan Moffit | |
| 87 | h2. Periodic Pulser script |
||
| 88 | |||
| 89 | Set the parameters for the periodic pulser. |
||
| 90 | |||
| 91 | * log into hccoda@cdaql3 from a terminal |
||
| 92 | <pre> |
||
| 93 | ssh hccoda@cdaql3 |
||
| 94 | </pre> |
||
| 95 | 6 | Bryan Moffit | * execute periodic pulser script |
| 96 | 5 | Bryan Moffit | <pre> |
| 97 | cd $HOME/scripts/VLD |
||
| 98 | 6 | Bryan Moffit | ./vld_periodic_pulser.sh |
| 99 | 5 | Bryan Moffit | </pre> |
| 100 | 1 | Bryan Moffit | > * Usage |
| 101 | <pre> |
||
| 102 | 6 | Bryan Moffit | vld_periodic_pulser.sh [period] [period_range] [number] |
| 103 | [period] : Pulser period in units of period_range |
||
| 104 | [period_range] : 0: 8 nanoseconds |
||
| 105 | : 1: 8.2 microseconds |
||
| 106 | [number] : Number of pulses. 65535 for unlimited |
||
| 107 | 5 | Bryan Moffit | </pre> |
| 108 | 7 | Bryan Moffit | |
| 109 | h2. EPICS driver repo |
||
| 110 | |||
| 111 | * https://github.com/JeffersonLab/vld-epics |
||
| 112 | * PV Descriptions: https://github.com/JeffersonLab/vld-epics#pvs |