Project

General

Profile

VLD EPICS development » History » Revision 2

Revision 1 (Bryan Moffit, 02/06/2023 01:00 PM) → Revision 2/7 (Bryan Moffit, 02/06/2023 01:02 PM)

h1. VLD EPICS development 

 h2. Run the IOC 

 * log into hccoda@nps-vme4 from a terminal 
 <pre> 
 ssh hccoda@nps-vme4 
 </pre> 
 * execute startup script (located in $HOME/bin) 
 <pre> 
 startIOC 
 </pre> 

 h2. Calibration test script 

 * log into hccoda@cdaql3 from a terminal 
 <pre> 
 ssh hccoda@cdaql3 
 </pre> 
 * execute calibration test script 
 <pre> 
 cd $HOME/scripts/VLD 
 ./vld_calibration_test [0,1] 
 </pre> 
 > * Usage 
 <pre> 
   vld_calibration_test.sh [0,1] 
                      0: disable 
                      1: enable 

 </pre> 

 > * Script variable description 
 > > * *VLDSLOT* 
 > > > 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. 

 > > * *PULSER_SETTING* 
 > > > Enum for random pulser setting 
 <pre> 
  0: 700kHz 
  1: 350kHz 
  2: 175kHz 
  3: 87.5kHz 
  ... 
  7: 5.5kHz 
 </pre> 

 > > * *TRIG_SOURCE* 
 > > > Source to trigger pulser 
 <pre> 
  0: always high (should be Periodic trigger), 
  1: random trigger only 
  2: FP_trigger 
 </pre> 

 > > * *C0_LOW_MASK*, *C0_HIGH_MASK*, *C1_LOW_MASK*, *C1_HIGH_MASK*, etc.. 
 > > > Connector channel enable bitmasks.    E.g. to enable channel 0 and 1,  
 <pre> 
 C0_LOW_MASK=0x3 
 </pre>