Project

General

Profile

Actions

VLD EPICS development » History » Revision 4

« Previous | Revision 4/7 (diff) | Next »
Bryan Moffit, 02/10/2023 10:18 PM


VLD EPICS development

Run the IOC

  • log into hccoda@nps-vme4 from a terminal
    ssh 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 terminal
    ssh hccoda@cdaql3
    
  • execute calibration test script
    cd $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 terminal
    ssh hccoda@cdaql3
    
  • execute square wave pulse script
    cd $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]

Updated by Bryan Moffit about 1 year ago · 4 revisions