accel_dcm.vdb

Go to the documentation of this file.
00001 #! Generated by VisualDCT v2.6
00002 #! DBDSTART
00003 #! DBD("../../dbd/pmacCoord_vdct.dbd")
00004 #! DBDEND
00005 
00006 
00007 # # \file
00008 # # This template allows setting of variables for a bragg axis and vertical 
00009 # # translation geometry DCM CS. It requires PROG10_CS_motion.pmc and an 
00010 # # instantiation of CS_accel_dcm.pmc as illustrated in the image below:
00011 # # \image html accel_dcm-help.png "Setup of DCM CS"
00012 # # Build instructions for an example IOC are available 
00013 # # \ref build_instructions_accelDCM "here", with a pmc file containing 
00014 # # the CS definition available in iocs/accelDCM/defs.pmc
00015 # % macro, __doc__, Supporting template that allows setting of variables for an 
00016 # accel DCM CS 
00017 # % macro, P, Pv Prefix
00018 # % macro, PORT, Motor controller serial port
00019 # % macro, COORD, Co-ordinate system number
00020 # % macro, name, Object name and gui association name
00021 # This associates an edm screen with the template
00022 # % gui, $(name=), edm, accel_dcm.edl, accel_dcm=$(P)
00023 record(stringout, "$(P):dummy") {
00024 }
00025 
00026 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync1) {
00027   macro(VAR, "&$(COORD)Q20")
00028   macro(Q, ":DSPACING")
00029   macro(EGU, "A*")
00030   macro(PREC, "5")
00031 }
00032 
00033 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync2) {
00034   macro(VAR, "&$(COORD)Q21")
00035   macro(Q, ":LOCKT2")
00036   macro(EGU, "")
00037   macro(PREC, "0")
00038 }
00039 
00040 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync3) {
00041   macro(VAR, "&$(COORD)Q22")
00042   macro(Q, ":EVLAMBDA")
00043   macro(EGU, "")
00044   macro(PREC, "5")
00045 }
00046 
00047 #! Further lines contain data used by VisualDCT
00048 #! View(0,0,1.0)
00049 #! Record("$(P):dummy",20,383,0,0,"$(P):dummy")
00050 
00051 #! TemplateInstance("pmacVariableWriteSync1",200,380,0,"")
00052 #! TemplateField("pmacVariableWriteSync1","VAR",16777215,0,1)
00053 #! TemplateField("pmacVariableWriteSync1","EGU",16777215,0,1)
00054 #! TemplateField("pmacVariableWriteSync1","Q",16777215,0,1)
00055 #! TemplateField("pmacVariableWriteSync1","PORT",16777215,0,1)
00056 #! TemplateField("pmacVariableWriteSync1","P",16777215,0,1)
00057 #! TemplateField("pmacVariableWriteSync1","PREC",16777215,0,1)
00058 
00059 
00060 #! TemplateInstance("pmacVariableWriteSync2",420,380,0,"")
00061 #! TemplateField("pmacVariableWriteSync2","VAR",16777215,0,1)
00062 #! TemplateField("pmacVariableWriteSync2","EGU",16777215,0,1)
00063 #! TemplateField("pmacVariableWriteSync2","Q",16777215,0,1)
00064 #! TemplateField("pmacVariableWriteSync2","PORT",16777215,0,1)
00065 #! TemplateField("pmacVariableWriteSync2","P",16777215,0,1)
00066 #! TemplateField("pmacVariableWriteSync2","PREC",16777215,0,1)
00067 
00068 
00069 #! TemplateInstance("pmacVariableWriteSync3",640,380,0,"")
00070 #! TemplateField("pmacVariableWriteSync3","VAR",16777215,0,1)
00071 #! TemplateField("pmacVariableWriteSync3","EGU",16777215,0,1)
00072 #! TemplateField("pmacVariableWriteSync3","Q",16777215,0,1)
00073 #! TemplateField("pmacVariableWriteSync3","PORT",16777215,0,1)
00074 #! TemplateField("pmacVariableWriteSync3","P",16777215,0,1)
00075 #! TemplateField("pmacVariableWriteSync3","PREC",16777215,0,1)
00076 
 All Classes Files Functions Variables Typedefs Defines