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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user