Skip to content
Snippets Groups Projects
Commit 72b44d7b authored by mooney's avatar mooney
Browse files

New AIMConfig() args, substitutions file renamed

parent 514ede3d
No related branches found
No related tags found
No related merge requests found
# 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 ----------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment