flexure_slits.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 set of flexure slits, 
00009 # # made up two pairs of flexures, one each for X and Y. A separate instance of 
00010 # # this CS is needed for X and Y. It needs PROG10_CS_motion.pmc and each 
00011 # # instance requires an instantiation of CS_flexure_slits.pmc with the 
00012 # # variables shown in the image below:
00013 # # \image html flexure_slits-help.png "Setup of flexure slits in X or Y"
00014 # # Build instructions for an example IOC are available 
00015 # # \ref build_instructions_flexureSlits "here", with a pmc file containing 
00016 # # the CS definition available in iocs/flexureSlits/defs.pmc
00017 # % macro, __doc__, Supporting template that allows setting of variables for a 
00018 # set of flexure slits
00019 # % macro, P, Pv Prefix
00020 # % macro, PORT, Motor controller serial port
00021 # % macro, COORD, Co-ordinate system number
00022 # % macro, PREC, Precision to display variables
00023 # % macro, name, Object name and gui association name
00024 # This associates an edm screen with the template
00025 # % gui, $(name=), edm, flexure_slits.edl, slits=$(P)
00026 record(stringout, "$(P):dummy") {
00027 }
00028 
00029 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync) {
00030   macro(VAR, "&$(COORD)Q20")
00031   macro(Q, ":LL")
00032   macro(EGU, "mm")
00033   macro(PREC, "$(PREC=3)")
00034 }
00035 
00036 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync2) {
00037   macro(VAR, "&$(COORD)Q21")
00038   macro(Q, ":SW")
00039   macro(EGU, "mm")
00040   macro(PREC, "$(PREC=3)")
00041 }
00042 
00043 #! Further lines contain data used by VisualDCT
00044 #! View(0,0,1.0)
00045 #! Record("$(P):dummy",20,23,0,0,"$(P):dummy")
00046 
00047 #! TemplateInstance("pmacVariableWriteSync",500,20,0,"")
00048 #! TemplateField("pmacVariableWriteSync","VAR",16777215,0,1)
00049 #! TemplateField("pmacVariableWriteSync","EGU",16777215,0,1)
00050 #! TemplateField("pmacVariableWriteSync","Q",16777215,0,1)
00051 #! TemplateField("pmacVariableWriteSync","PORT",16777215,0,1)
00052 #! TemplateField("pmacVariableWriteSync","P",16777215,0,1)
00053 #! TemplateField("pmacVariableWriteSync","PREC",16777215,0,1)
00054 
00055 
00056 #! TemplateInstance("pmacVariableWriteSync2",260,20,0,"")
00057 #! TemplateField("pmacVariableWriteSync2","VAR",16777215,0,1)
00058 #! TemplateField("pmacVariableWriteSync2","EGU",16777215,0,1)
00059 #! TemplateField("pmacVariableWriteSync2","Q",16777215,0,1)
00060 #! TemplateField("pmacVariableWriteSync2","PORT",16777215,0,1)
00061 #! TemplateField("pmacVariableWriteSync2","P",16777215,0,1)
00062 #! TemplateField("pmacVariableWriteSync2","PREC",16777215,0,1)
00063 
 All Classes Files Functions Variables Typedefs Defines