EPICS: Software IOC for CAEN HV: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
 
Boiarino (talk | contribs)
No edit summary
Line 1: Line 1:
Term ''software IOC'' is used to distinguish UNIX-based IOC from VXWORKS-based one. In case of CAEN HV that classification is not quite accurate. Originally EPICS support in CLAS was provided for new CAEN SY1527 mainframes, it was UNIX-based IOC talking to mainframes over TCP connection. Later that software was ported to VxWorks and adopted to control old CAEN SY527 mainframes over VME V288 CAENET controller.
== SY527 ==
== SY1527 ==
To start IOC:
To start IOC:



Revision as of 21:12, 24 January 2009

Term software IOC is used to distinguish UNIX-based IOC from VXWORKS-based one. In case of CAEN HV that classification is not quite accurate. Originally EPICS support in CLAS was provided for new CAEN SY1527 mainframes, it was UNIX-based IOC talking to mainframes over TCP connection. Later that software was ported to VxWorks and adopted to control old CAEN SY527 mainframes over VME V288 CAENET controller.

SY527

SY1527

To start IOC:

 cd $BASEB/src/CAEN_HV/IocShell/
 ./startup.all

Contents of 'startup.all' for references:

 #!/usr/local/clas/devel/R3.14.8.2/EPICS/baseB/bin/linux-x86/ioccaen
 #
 #  startup.all test for linux ioc
 #
 < envPaths
 #
 cd ${TOP}
 #
 dbLoadDatabase("src/CAEN_HV/IocShell/O.Common/ioccaen.dbd",0,0)
 ioccaen_registerRecordDeviceDriver(pdbbase)
 Init_CAEN()
 Start_CAEN(1,"129.57.69.101")
 #
 dbLoadRecords("src/CAEN_HV/IocShell/caen_01.db")
 #
 iocInit()
 #
 # end of linux ioc startup script

Contents of 'envPaths' (for references):

 epicsEnvSet(ARCH,"linux-x86")
 epicsEnvSet(IOC,"CAEN_HV")
 epicsEnvSet(TOP,"/usr/local/clas/devel/R3.14.8.2/EPICS/baseB")