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 gap and centre slits, 00009 # # made up two slit mechanisms, 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_gap_and_centre_slits.pmc with the 00012 # # variables shown in the image below: 00013 # # \image html gap_and_centre_slits-help.png "Setup of gap and centre slits in X or Y" 00014 # # Build instructions for an example IOC are available 00015 # # \ref build_instructions_gapCentreSlits "here", with a pmc file containing 00016 # # the CS definition available in iocs/gapCentreSlits/defs.pmc 00017 # % macro, __doc__, Supporting template that allows setting of variables for a 00018 # set of gap and slits 00019 # % macro, P, Pv Prefix 00020 # % macro, PORT, Motor controller serial port 00021 # % macro, COORD, Co-ordinate system number 00022 # % macro, name, Object name and gui association name 00023 # This associates an edm screen with the template 00024 # % gui, $(name=), edm, gap_and_centre_slits.edl, slits=$(P) 00025 record(stringout, "$(P):dummy") { 00026 } 00027 00028 expand("pmacVariableWriteSync.vdb", pmacVariableWriteSync) { 00029 macro(VAR, "&$(COORD)Q20") 00030 macro(Q, ":DIR") 00031 macro(EGU, "") 00032 macro(PREC, "0") 00033 } 00034 00035 #! Further lines contain data used by VisualDCT 00036 #! View(0,0,1.0) 00037 #! Record("$(P):dummy",20,23,0,0,"$(P):dummy") 00038 00039 #! TemplateInstance("pmacVariableWriteSync",500,20,0,"") 00040 #! TemplateField("pmacVariableWriteSync","VAR",16777215,0,1) 00041 #! TemplateField("pmacVariableWriteSync","EGU",16777215,0,1) 00042 #! TemplateField("pmacVariableWriteSync","Q",16777215,0,1) 00043 #! TemplateField("pmacVariableWriteSync","PORT",16777215,0,1) 00044 #! TemplateField("pmacVariableWriteSync","P",16777215,0,1) 00045 #! TemplateField("pmacVariableWriteSync","PREC",16777215,0,1) 00046