Experimental Physics and
| |||||||||||||||||
|
Here's an example from the Tektronix TDS3000/5000 support module: =================================================================== #!../../bin/solaris-sparc/scopetest < envPaths < envParams # # Site-specific configuration # epicsEnvSet(FAMILY, "$(TDS_FAMILY=3000)") # Choose scope family (3000 or 5000) epicsEnvSet(ETHER, "$(TDS_ETHERNET=10.0.0.1)") # Choose scope ethernet address epicsEnvSet(SCOPE, "$(TDS_SCOPE=scopeTest:)") # Choose scope ethernet address . . . . ## Set up IOC/hardware links -- Direct network connection #vxi11Configure("L0", "$(ETHER)", 0, 0.0, "inst0", 0) . . . dbLoadRecords("db/TDSxxxx.vdb","scope=$ (SCOPE),L=0,A=3,ASG=RF1CTL,Name=RF1-HV,FAMILY=$(FAMILY)") . . . ===================================================================== If the environment variable is set, the IOC shell uses that value. Otherwise a default value is used. For example, to use a different ethernet address: ETHER=192.168.1.123 ../../bin/solaris-sparc/scopetest st.cmd On Jun 30, 2008, at 9:56 AM, haquin wrote: Hi,
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |