Delta Tau PMAC User Manual Page 7

  • Download
  • Add to my manuals
  • Print
  • Page
    / 22
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 6
Delta Tau Power PMAC EPICS Device Support Manual
8 February 2013
7
Also update the line that defines the location of your EPICS installation. For example
EPICS_BASE=/usr/lib/epics
Save any changes and exit. cd back up to the top level and then into the application
source directory.
cd ..
cd powerPmacApp/src
It is also necessary to edit the Makefile in that source directory to ensure it points to
the correct installation location of libssh2. In the Makefile there is a variable
ssh2_DIR that should be set to the location of the installed library file. For example
ssh2_DIR = /usr/local/lib
Finally the host architecture must be defined before the build can commence. From a
terminal (assumed to be running the Bash shell) enter the following line:
export EPICS_HOST_ARCH=linux-x86
There is a test application supplied with the device support code. If this is to be used
then the startup script should be altered. cd into the iocBoot/iocpowerPMAC
directory from the top level.
cd iocBoot/iocpowerPMAC
Edit the st.cmd file and update the line that configures the asyn Power PMAC port
with the IP address of the Power PMAC unit on your network. For example
drvAsynPowerPMACPortConfigure("SSH1","10.2.2.76","root",
"deltatau","0","0","0")
Now cd back to the top level and type make to build the device support code and the
test application. The build should complete with no errors.
6 Running the Test Application
Once the system has successfully compiled the test application should be executed to
ensure a connection to the Power PMAC is completed.
6.1 Running the EPICS Database
To run the IOC cd into the iocBoot/iocpowerPMAC directory from the top level
directory and execute the st.cmd script.
cd iocBoot/iocpowerPMAC
./st.cmd
Page view 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 21 22

Comments to this Manuals

No comments