Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/home/tracker/pelle/epics/example

and is currently on SVN: github under user "perhansson".

svn://svn.freehep.org/hps/epics/trunk

NOTE: I should fix the SVN so that I can commit our SVT code separately from the IOC code which enables the transition between the arm and intel environments to be smooth. Right now I only checked out the interesting folders (src and db stuff) into the hpstracker and work on those ignoring the setup scripts that was originally checked in from the arm setup on the zed board. 

Instructions for MPOD power supply control

...

$ cd /home/tracker/pelle/epics/svt-epics/example/iocBoot/iochvCaen/

Start the IOC

...

$./svt-voltages.cmd

This should run the epics hvCaenApp IOC and you should see output to the screen. Depending on the debug level (see below) there might be lots of output here.

...

Instructions for hybrid power control

...

Start IOC

Setup EPICS environment (part of the DAQ setup script):

$ cd /u1/software/software_new

$ source setup_env.cshGo to

Start the IOC

...

$ cd /home/tracker/pelle/epics/example/

Start the IOC

$ cd /home/tracker/pelle/svt-epics/example/iocBoot/iocmyexampleApp

...

2. Setting up the control server

Power the FEB according to instruction below with GUIs or manually.

Start the control server and GUI

...

/home/tracker/pelle/epics/svt-medm_hps

Start ALL GUIs using scripts:

...

 
Individual GUIs can be opened with
medm gui-name.adl & (if you don't add -x it will open in edit mode and you'll have to hit "execute" in one of the windows popping up. 

1. Power the flange using flange "hps_svt_FLLV_all.adl" GUI
2. Power the FEB using "hps_svt_FELV_all.adl" (DIGI first)
3. Configure the FEB
4. Control hybrid power from "svtStatusPS_latest_onoff_control.adl"

Notes on the hybrid power:

 
  • The update frequency need to be tuned, sometimes it can take 1-2s before values are updated.  
  • If the DAQ GUI (actually the server) dies and you restart the GUI's may not reflect the new state. For example the GUI's may say ON when channel is OFF. You can press OFF and then ON in that case to sync up manually. Working on a fix for this. 

Development
Changing debug output for hybrid IOC

The debug level for the subProcess (essentially stuff in myexampleApp/src/dbSubExample.c) is controlled by "int mySubDebug". (0=least output)

This can be controlled from the IOC startup script /home/tracker/pelle/epics/example/iocBoot/iocmyexampleApp/st.cmd  by changing line:

var mySubDebug 0

...