Commit 3bcea3d4 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

moved cvtRecordApp to module csm -> removed dependency on module csm

parent 32840bc5
......@@ -21,7 +21,6 @@ SUPPORT=/opt/Epics/R3.14.8/support
# EPICS_BASE usually appears last so other apps can override stuff:
EPICS_BASE=/opt/Epics/R3.14.8/base/3-14-8-2-0
CSM=$(SUPPORT)/csm/3-0
#Capfast users may need the following definitions
#CAPFAST_TEMPLATES=
......
TOP = ..
include $(TOP)/configure/CONFIG_APP
#-----------------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
DBDINC = cvtRecord menuCvtMethod menuCvtInitState
LIB_SRCS = cvtRecord.c
LIBRARY_IOC += cvtRecord
include $(TOP)/configure/RULES
#-----------------------------------------------
# ADD RULES AFTER THIS LINE
This diff is collapsed.
include "menuCvtInitState.dbd"
include "menuCvtMethod.dbd"
recordtype(cvt) {
include "dbCommon.dbd"
field(VAL,DBF_DOUBLE) {
prompt("Output Value")
special(SPC_NOMOD)
}
field(X,DBF_DOUBLE) {
prompt("Input Value X")
asl(ASL0)
pp(TRUE)
}
field(Y,DBF_DOUBLE) {
prompt("Input Value Y")
asl(ASL0)
pp(TRUE)
}
field(OUT,DBF_OUTLINK) {
prompt("Output Specification")
promptgroup(GUI_OUTPUT)
interest(1)
}
field(INPX,DBF_INLINK) {
prompt("Input X Loc")
promptgroup(GUI_INPUTS)
interest(1)
}
field(INPY,DBF_INLINK) {
prompt("Input Y Loc")
promptgroup(GUI_INPUTS)
interest(1)
}
field(METH,DBF_MENU) {
prompt("Conversion Method")
promptgroup(GUI_CONVERT)
special(SPC_NOMOD)
interest(1)
menu(menuCvtMethod)
}
field(NMET,DBF_MENU) {
prompt("New Conversion Method")
interest(2)
menu(menuCvtMethod)
}
field(TDIR,DBF_STRING) {
prompt("Conversion Table Directory")
promptgroup(GUI_CONVERT)
special(SPC_NOMOD)
interest(1)
size(40)
}
field(NTDI,DBF_STRING) {
prompt("New Table Directory")
interest(2)
size(40)
}
field(SPEC,DBF_STRING) {
prompt("Conversion Specification")
promptgroup(GUI_CONVERT)
special(SPC_NOMOD)
interest(1)
size(40)
}
field(NSPE,DBF_STRING) {
prompt("New Conversion Specification")
interest(2)
size(40)
}
field(ISTA,DBF_MENU) {
prompt("Initialize Conversion State")
special(SPC_NOMOD)
interest(2)
menu(menuCvtInitState)
}
field(DRTY,DBF_UCHAR) {
prompt("Dirty Bits (internal)")
special(SPC_NOMOD)
interest(4)
}
field(INIT,DBF_UCHAR) {
prompt("Re-Initialize Conversion")
special(SPC_MOD)
interest(2)
}
field(INIL,DBF_INLINK) {
prompt("Re-Initialize Conversion Location")
promptgroup(GUI_CONVERT)
interest(2)
initial("0")
}
field(CSUB,DBF_NOACCESS) {
prompt("Conversion Subroutine")
special(SPC_NOMOD)
interest(4)
extra("void *csub")
}
field(XSLO,DBF_DOUBLE) {
prompt("Slope in X direction")
promptgroup(GUI_CONVERT)
pp(TRUE)
interest(1)
initial("1")
}
field(YSLO,DBF_DOUBLE) {
prompt("Slope in Y direction")
promptgroup(GUI_CONVERT)
pp(TRUE)
interest(1)
initial("1")
}
field(VOFF,DBF_DOUBLE) {
prompt("Value Offset")
promptgroup(GUI_CONVERT)
pp(TRUE)
interest(1)
}
field(PREC,DBF_SHORT) {
prompt("Display Precision")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(EGU,DBF_STRING) {
prompt("Engineering Units")
promptgroup(GUI_DISPLAY)
interest(1)
size(16)
}
field(DRVH,DBF_FLOAT) {
prompt("Drive High Limit")
promptgroup(GUI_OUTPUT)
pp(TRUE)
interest(1)
}
field(DRVL,DBF_FLOAT) {
prompt("Drive Low Limit")
promptgroup(GUI_OUTPUT)
pp(TRUE)
interest(1)
}
field(HOPR,DBF_FLOAT) {
prompt("High Operating Range")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(LOPR,DBF_FLOAT) {
prompt("Low Operating Range")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(HIHI,DBF_FLOAT) {
prompt("Hihi Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(LOLO,DBF_FLOAT) {
prompt("Lolo Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(HIGH,DBF_FLOAT) {
prompt("High Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(LOW,DBF_FLOAT) {
prompt("Low Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(HHSV,DBF_MENU) {
prompt("Hihi Severity")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
menu(menuAlarmSevr)
}
field(LLSV,DBF_MENU) {
prompt("Lolo Severity")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
menu(menuAlarmSevr)
}
field(HSV,DBF_MENU) {
prompt("High Severity")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
menu(menuAlarmSevr)
}
field(LSV,DBF_MENU) {
prompt("Low Severity")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
menu(menuAlarmSevr)
}
field(HYST,DBF_DOUBLE) {
prompt("Alarm Deadband")
promptgroup(GUI_ALARMS)
interest(1)
}
field(ADEL,DBF_DOUBLE) {
prompt("Archive Deadband")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(MDEL,DBF_DOUBLE) {
prompt("Monitor Deadband")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(LALM,DBF_DOUBLE) {
prompt("Last Value Alarmed")
special(SPC_NOMOD)
interest(3)
}
field(ALST,DBF_DOUBLE) {
prompt("Last Value Archived")
special(SPC_NOMOD)
interest(3)
}
field(MLST,DBF_DOUBLE) {
prompt("Last Val Monitored")
special(SPC_NOMOD)
interest(3)
}
field(IVOA,DBF_MENU) {
prompt("INVALID output action")
promptgroup(GUI_OUTPUT)
interest(2)
menu(menuIvoa)
}
field(IVOV,DBF_DOUBLE) {
prompt("INVALID output value")
promptgroup(GUI_OUTPUT)
interest(2)
}
field(IAML,DBF_INLINK) {
prompt("Inactive Mode Location")
promptgroup(GUI_INPUTS)
interest(1)
initial("0")
}
field(IAVL,DBF_INLINK) {
prompt("Inactive Value Location")
promptgroup(GUI_INPUTS)
interest(1)
initial("0")
}
}
This diff is collapsed.
menu(menuCvtInitState) {
choice(menuCvtInitStateDone,"Done")
choice(menuCvtInitStateInProgress,"InProgress")
choice(menuCvtInitStateAgain,"Again")
choice(menuCvtInitStateError,"Error")
}
menu(menuCvtMethod) {
choice(menuCvtMethodLinear,"LINEAR")
choice(menuCvtMethodSubroutine,"SUBROUTINE")
choice(menuCvtMethod1DTable,"1D TABLE")
choice(menuCvtMethod1DTableInverted,"1D TABLE INVERTED")
choice(menuCvtMethod2DTable,"2D TABLE")
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment