From 72b44d7beac81bc9ab9cb4e0d5f8ca4cd76f40d0 Mon Sep 17 00:00:00 2001 From: timmmooney <mooney@aps.anl.gov> Date: Fri, 25 Mar 2005 16:47:25 +0000 Subject: [PATCH] New AIMConfig() args, substitutions file renamed --- iocBoot/iocvxWorks/canberra_3.cmd | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/iocBoot/iocvxWorks/canberra_3.cmd b/iocBoot/iocvxWorks/canberra_3.cmd index 54d1365..130819a 100644 --- a/iocBoot/iocvxWorks/canberra_3.cmd +++ b/iocBoot/iocvxWorks/canberra_3.cmd @@ -1,13 +1,20 @@ # BEGIN canberra_3.cmd -------------------------------------------------------- -# AIMConfig(serverName, int etherAddr, int port, int maxChans, -# int maxSignals, int maxSequences, etherDev, queueSize) -AIMConfig("AIM1/1", 0xa78, 1, 2048, 1, 1, "ei0", 100) -AIMConfig("AIM1/2", 0xa78, 2, 2048, 1, 1, "ei0", 100) -AIMConfig("AIM2/1", 0xa79, 1, 2048, 1, 1, "ei0", 100) - -dbLoadRecords("$(MCA)/mcaApp/Db/3element.db","P=xxx:med:,N=2000") +# AIMConfig(portName, ethernet_address, portNumber, maxChans, +# maxSignals, maxSequences, ethernetDevice) +# portName, # asyn port name to be created +# ethernet_address, # Low order 16 bits of Ethernet hardware address +# portNumber, # ADC port on AIM (1 or 2) +# maxChans, # Maximum channels for this input +# maxSignals, # Maximum signals for this input (>1 for MCS or multiplexor) +# maxSequences, # Maximum sequences for time resolved applications +# ethernetDevice) # Ethernet device name on IOC +# # Typically ei0 for Motorola 68K, dc0 for ppc, fei0 for 5100, eth0 for Linux +AIMConfig("AIM1/1", 0xa78, 1, 2048, 1, 1, "ei0") +AIMConfig("AIM1/2", 0xa78, 2, 2048, 1, 1, "ei0") +AIMConfig("AIM2/1", 0xa79, 1, 2048, 1, 1, "ei0") +dbLoadRecords("$(MCA)/mcaApp/Db/3element.db","P=xxx:med:,BASENAME=mca,N=2000") # icbConfig(portName, ethernetAddress, icbAddress, moduleType) # portName to give to this asyn port # ethernetAddress - Ethernet address of module, low order 16 bits @@ -28,6 +35,6 @@ icbConfig("icbTca2", 0xa78, 1, 3) icbConfig("icbTca3", 0xa78, 2, 3) -dbLoadTemplate("3element.substitutions") +dbLoadTemplate("canberra_3.substitutions") # END canberra_3.cmd ---------------------------------------------------------- -- GitLab