Commit 461970fc authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

replaced DBF_FLOAT with DBF_DOUBLE in cvt limit fields

parent 87fb497d
......@@ -388,8 +388,8 @@ static long get_alarm_double(struct dbAddr *paddr, struct dbr_alDouble *pad)
static void csm_alarm(struct cvtRecord *pcvt)
{
double hyst, lalm, val;
float hihi, high, low, lolo;
unsigned short hhsv, llsv, hsv, lsv;
double hihi, high, low, lolo;
epicsEnum16 hhsv, llsv, hsv, lsv;
if (pcvt->udf == TRUE) {
recGblSetSevr(pcvt, UDF_ALARM, INVALID_ALARM);
......
......@@ -126,47 +126,47 @@ recordtype(cvt) {
interest(1)
size(16)
}
field(DRVH,DBF_FLOAT) {
field(DRVH,DBF_DOUBLE) {
prompt("Drive High Limit")
promptgroup(GUI_OUTPUT)
pp(TRUE)
interest(1)
}
field(DRVL,DBF_FLOAT) {
field(DRVL,DBF_DOUBLE) {
prompt("Drive Low Limit")
promptgroup(GUI_OUTPUT)
pp(TRUE)
interest(1)
}
field(HOPR,DBF_FLOAT) {
field(HOPR,DBF_DOUBLE) {
prompt("High Operating Range")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(LOPR,DBF_FLOAT) {
field(LOPR,DBF_DOUBLE) {
prompt("Low Operating Range")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(HIHI,DBF_FLOAT) {
field(HIHI,DBF_DOUBLE) {
prompt("Hihi Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(LOLO,DBF_FLOAT) {
field(LOLO,DBF_DOUBLE) {
prompt("Lolo Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(HIGH,DBF_FLOAT) {
field(HIGH,DBF_DOUBLE) {
prompt("High Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
interest(1)
}
field(LOW,DBF_FLOAT) {
field(LOW,DBF_DOUBLE) {
prompt("Low Alarm Limit")
promptgroup(GUI_ALARMS)
pp(TRUE)
......
......@@ -190,8 +190,8 @@ for more on the record name (NAME) and description (DESC) fields.
Field Summary Type DCT Initial Access Modify Rec Proc Monitor PP
===== ==================== =========== === ======= ====== ====== ================ ===
EGU Engineering Units STRING [16] Yes Yes Yes No No
HOPR High Operating Range FLOAT Yes 0 Yes Yes No No
LOPR Low Operating Range FLOAT Yes 0 Yes Yes No No
HOPR High Operating Range DOUBLE Yes 0 Yes Yes No No
LOPR Low Operating Range DOUBLE Yes 0 Yes Yes No No
PREC Display Precision SHORT Yes 0 Yes Yes No No
NAME Record Name STRING [29] Yes Yes No No No
DESC Description STRING [29] Yes Yes Yes No No
......@@ -221,10 +221,10 @@ related to a alarms that are common to all record types.
===== ==================== ================= === ======= ====== ====== ================ ===
Field Summary Type DCT Initial Access Modify Rec Proc Monitor PP
===== ==================== ================= === ======= ====== ====== ================ ===
HIHI Hihi Alarm Limit FLOAT Yes 0 Yes Yes No Yes
HIGH High Alarm Limit FLOAT Yes 0 Yes Yes No Yes
LOW Low Alarm Limit FLOAT Yes 0 Yes Yes No Yes
LOLO Lolo Alarm Limit FLOAT Yes 0 Yes Yes No Yes
HIHI Hihi Alarm Limit DOUBLE Yes 0 Yes Yes No Yes
HIGH High Alarm Limit DOUBLE Yes 0 Yes Yes No Yes
LOW Low Alarm Limit DOUBLE Yes 0 Yes Yes No Yes
LOLO Lolo Alarm Limit DOUBLE Yes 0 Yes Yes No Yes
HHSV Hihi Alarm Severity `menuAlarmSevr`_ Yes 0 Yes Yes No Yes
HSV High Alarm Severity `menuAlarmSevr`_ Yes 0 Yes Yes No Yes
LSV Low Alarm Severity `menuAlarmSevr`_ Yes 0 Yes Yes No Yes
......
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