Commit 1c3d50f1 authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

cvtRecord: removed "invalid pv link" error messages

This is consistent with how the records in base work and avoids
misleading error messages at startup time when CA input links
have not yet connected.
parent 7ea7f491
......@@ -201,7 +201,6 @@ static long process(struct cvtRecord *pcvt)
if (status) {
recGblSetSevr(pcvt, LINK_ALARM, INVALID_ALARM);
errmsg("invalid pv link INIL");
goto error;
}
if (checkInit(pcvt)) {
......@@ -464,7 +463,6 @@ static long readInputs(struct cvtRecord *pcvt)
status = dbGetLink(&pcvt->inpx, DBR_DOUBLE, &pcvt->x, 0, 0);
if (status) {
recGblSetSevr(pcvt, LINK_ALARM, INVALID_ALARM);
errmsg("invalid pv link INPX");
return status;
}
if (old != pcvt->x) {
......@@ -475,7 +473,6 @@ static long readInputs(struct cvtRecord *pcvt)
status = dbGetLink(&pcvt->inpy, DBR_DOUBLE, &pcvt->y, 0, 0);
if (status) {
recGblSetSevr(pcvt, LINK_ALARM, INVALID_ALARM);
errmsg("invalid pv link INPY");
return status;
}
if (old != pcvt->y) {
......@@ -485,7 +482,6 @@ static long readInputs(struct cvtRecord *pcvt)
status = dbGetLink(&pcvt->iaml, DBR_ENUM, &pcvt->iaom, 0, 0);
if (status) {
recGblSetSevr(pcvt, LINK_ALARM, INVALID_ALARM);
errmsg("invalid pv link IAML");
return status;
}
......@@ -493,7 +489,6 @@ static long readInputs(struct cvtRecord *pcvt)
status = dbGetLink(&pcvt->iavl, DBR_DOUBLE, &pcvt->iaov, 0, 0);
if (status) {
recGblSetSevr(pcvt, LINK_ALARM, INVALID_ALARM);
errmsg("invalid pv link IAVL");
return status;
}
pcvt->val = pcvt->iaov;
......
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