ISIS Logo
GALIL
GALIL IOC
galil_analog_ports.substitutions
Go to the documentation of this file.
1 # Description:
2 # adc/dac substitution file.
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # Licence as published by the Free Software Foundation; either
7 # version 2.1 of the Licence, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public Licence for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # Licence along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17 #
18 # Contact details:
19 # mark.clift@synchrotron.org.au
20 # 800 Blackburn Road, Clayton, Victoria 3168, Australia.
21 #
22 # P - PV prefix
23 # R - Record Name
24 # PORT - Asyn port name
25 # ADDR - Hardware port to read
26 # PREC - Precision
27 
28 file "$(GALIL)/GalilSup/Db/galil_analog_in.template"
29 {
30  pattern { P, R, PORT, ADDR, PREC }
31 
32  { "\$(P):DMC\$(CCP)", "GalilAi0", "Galil", "0", "3" }
33  { "\$(P):DMC\$(CCP)", "GalilAi1", "Galil", "1", "3" }
34  { "\$(P):DMC\$(CCP)", "GalilAi2", "Galil", "2", "3" }
35  { "\$(P):DMC\$(CCP)", "GalilAi3", "Galil", "3", "3" }
36  { "\$(P):DMC\$(CCP)", "GalilAi4", "Galil", "4", "3" }
37  { "\$(P):DMC\$(CCP)", "GalilAi5", "Galil", "5", "3" }
38  { "\$(P):DMC\$(CCP)", "GalilAi6", "Galil", "6", "3" }
39  { "\$(P):DMC\$(CCP)", "GalilAi7", "Galil", "7", "3" }
40 
41 }
42 
43 file "$(GALIL)/GalilSup/Db/galil_analog_out.template"
44 {
45  pattern { P, R, PORT, ADDR, PREC, LOPR, HOPR }
46 
47  { "\$(P):DMC\$(CCP)", "GalilAo0", "Galil", "0", "3", "-10", "10" }
48  { "\$(P):DMC\$(CCP)", "GalilAo1", "Galil", "1", "3", "-10", "10" }
49  { "\$(P):DMC\$(CCP)", "GalilAo2", "Galil", "2", "3", "-10", "10" }
50  { "\$(P):DMC\$(CCP)", "GalilAo3", "Galil", "3", "3", "-10", "10" }
51  { "\$(P):DMC\$(CCP)", "GalilAo4", "Galil", "4", "3", "-10", "10" }
52  { "\$(P):DMC\$(CCP)", "GalilAo5", "Galil", "5", "3", "-10", "10" }
53  { "\$(P):DMC\$(CCP)", "GalilAo6", "Galil", "6", "3", "-10", "10" }
54  { "\$(P):DMC\$(CCP)", "GalilAo7", "Galil", "7", "3", "-10", "10" }
55 
56 }
57 
58 # end
59 
file(GALIL)/GalilSup/Db/galil_analog_in.template"
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5