Added Undefined Severity field UDFS

With this, records can be configured to have a lower
alarm severity when they are undefined.
Sets initial severity at iocInit too.
This commit is contained in:
Andrew Johnson committed 2012-12-10 09:25:58 -06:00
1 parent 85ed3b9f4e
commit 5a498e26a1
19 files changed
+30 -19

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ static long read_stringin (stringinRecord *prec)
prec->inp.value.instio.string, &prec->time);
if (len >= sizeof prec->val) {
prec->udf = TRUE;
recGblSetSevr(prec, UDF_ALARM, INVALID_ALARM);
recGblSetSevr(prec, UDF_ALARM, prec->udfs);
return -1;
}
prec->udf = FALSE;