Functions

aperture_slits.vdb File Reference

Go to the source code of this file.

Functions

 record (fanout,"$(P):ZERO")
 This record will zero raw motors when processed.
 record (calcout,"$(P):ZEROAP")
 record (calcout,"$(P):ZEROAM")
 expand ("pmacVariableWriteSync.vdb", pmacVariableWriteSync)

Detailed Description

This template allows setting of variables for a set of aperture slits, made up of 2 square or rectangular apertures, each probably driven in X and Y. A separate instance of this CS is needed for X and Y. It needs PROG10_CS_motion.pmc and Each instance requires an instantiation of CS_aperture_slits.pmc with the variables shown in the image below:

aperture_slits-help.png

Setup of aperture slits in X or Y

Build instructions for an example IOC are available here, with a pmc file containing the CS definition available in iocs/apertureSlits/defs.pmc

Parameters:
P Required argument. Pv Prefix
COORD Required argument. Co-ordinate system number
APPV Required argument. Pv of real AP motor, e.g. :XA
AMPV Required argument. Pv of real AM motor, e.g. :XB
PREC Default=3. Precision to display variables
name Default=. Object name and gui association name This associates an edm screen with the template


Definition in file aperture_slits.vdb.


Function Documentation

expand ( "pmacVariableWriteSync.vdb"  ,
pmacVariableWriteSync   
)

Definition at line 48 of file aperture_slits.vdb.

record ( calcout  ,
"$(P):ZEROAP"   
)

Definition at line 34 of file aperture_slits.vdb.

record ( calcout  ,
"$(P):ZEROAM"   
)

Definition at line 41 of file aperture_slits.vdb.

record ( fanout  ,
"$(P):ZERO"   
)

This record will zero raw motors when processed.

Definition at line 29 of file aperture_slits.vdb.

 All Classes Files Functions Variables Typedefs Defines