Actions
  VLD EPICS development » History » Revision 6
      « Previous |
    Revision 6/7
      (diff)
      | Next »
    
    Bryan Moffit, 02/15/2023 01:17 AM 
    
    
VLD EPICS development¶
Run the IOC¶
- log into hccoda@nps-vme4 from a terminalssh hccoda@nps-vme4 
- execute startup script (located in $HOME/bin)startIOC 
Calibration test script¶
Enable / disable the random pulser to the connector and channels defined in the script.
- log into hccoda@cdaql3 from a terminalssh hccoda@cdaql3 
- execute calibration test scriptcd $HOME/scripts/VLD ./vld_calibration_test [0,1] 
- Usage
  vld_calibration_test.sh [0,1]
                     0: disable
                     1: enable
- Script variable description
- VLDSLOT
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.
- PULSER_SETTING
Enum for random pulser setting
0: 700kHz 1: 350kHz 2: 175kHz 3: 87.5kHz ... 7: 5.5kHz ... 15: 21 Hz
- TRIG_SOURCE
Source to trigger pulser
0: always high (should be Periodic trigger), 1: random trigger only 2: FP_trigger
- C0_LOW_MASK, C0_HIGH_MASK, C1_LOW_MASK, C1_HIGH_MASK, etc..
Connector channel enable bitmasks. E.g. to enable connection 0's channel 0 and 1,
C0_LOW_MASK=0x3
Square wave pulse script¶
Set the pulse waveform to a square wave with specified width and amplitude
- log into hccoda@cdaql3 from a terminalssh hccoda@cdaql3 
- execute square wave pulse scriptcd $HOME/scripts/VLD ./vld_square_pulse.sh [width] [amplitude] 
- Usage
  vld_square_pulse.sh [width] [amplitude]
                     width: steps of 2ns [0, 1000]
                     amplitude: DAC setpoint at each step [0, 63]
	
Periodic Pulser script¶
Set the parameters for the periodic pulser.
- log into hccoda@cdaql3 from a terminalssh hccoda@cdaql3 
- execute periodic pulser scriptcd $HOME/scripts/VLD ./vld_periodic_pulser.sh 
- Usage
  vld_periodic_pulser.sh [period]  [period_range]  [number]
                     [period]       :  Pulser period in units of period_range
                     [period_range] : 0: 8 nanoseconds
                                    : 1: 8.2 microseconds
                     [number]       : Number of pulses.  65535 for unlimited
Updated by Bryan Moffit over 2 years ago · 6 revisions