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
2012-12-10 09:25:58 -06:00
parent 85ed3b9f4e
commit 5a498e26a1
19 changed files with 30 additions and 19 deletions

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;