Files
motorBase/iocBoot/iocSim
2008-03-13 20:27:55 +00:00
..
2006-03-22 22:54:44 +00:00
2008-03-13 20:27:55 +00:00
2006-04-08 20:13:23 +00:00
2008-03-13 20:23:43 +00:00
2006-03-22 22:54:44 +00:00

To build any examples;

- in <motor>/configure/RELEASE: EPICS_BASE and MOTOR must be defined.

- in <motor>/Makefile: the following two lines must be uncommented;
  #DIRS := $(DIRS) $(filter-out $(DIRS), motorExApp)
  #DIRS := $(DIRS) $(filter-out $(DIRS), iocBoot)

To build this simulation example;

- in <motor>/configure/RELEASE: ASYN must be defined.

- in <motor>/motorExApp/Makefile: #DIRS += WithAsyn must be uncommented.

- in <motor>/motorExApp/WithAsyn/Makefile: uncomment both,
  #!WithAsyn_LIBS   += motorSimSupport
    and,
  #!WithAsynVx_LIBS += motorSimSupport

- in both <motor>/motorExApp/WithAsyn/WithAsynInclude.dbd, and in
  <motor>/motorExApp/WithAsyn/WithAsynVxInclude.dbd
  uncomment,  #include "motorSimSupport.dbd"

- in <motor>/iocBoot/iocSim/Makefile set the target architecture
          
Finally, cd <motor>; gnumake clean uninstall; gnumake

To run this simulation example on a Unix OS;
- Set the EPICS_HOST_ARCH environment variable correctly.
- Edit the st.cmd.unix file for either sun or linux.
- Start the ioc from this directory by executing the following command.

../../bin/${EPICS_HOST_ARCH}/WithAsyn st.cmd.unix