Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sequencer-2-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
epics-modules
sequencer-2-2
Commits
2ba95d21
Commit
2ba95d21
authored
12 years ago
by
benjamin.franksen
Browse files
Options
Downloads
Patches
Plain Diff
seq: reduce severity of timeouts and user errors from errlogFatal to errlogMajor
parent
85ba6b08
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/seq/seq_if.c
+10
-10
10 additions, 10 deletions
src/seq/seq_if.c
with
10 additions
and
10 deletions
src/seq/seq_if.c
+
10
−
10
View file @
2ba95d21
...
...
@@ -75,7 +75,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvGet(SS_ID ss, VAR_ID varId, enum compT
/* No named PV and traditional mode => user error */
if
(
!
dbch
)
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvGet(%s): user error (variable not assigned)
\n
"
,
ch
->
varName
);
...
...
@@ -100,7 +100,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvGet(SS_ID ss, VAR_ID varId, enum compT
tmo
-=
(
after
-
before
);
break
;
case
epicsEventWaitTimeout
:
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvGet(ss %s, var %s, pv %s): failed (timeout "
"waiting for other get requests to finish)
\n
"
,
ss
->
ssName
,
ch
->
varName
,
dbch
->
dbName
...
...
@@ -121,7 +121,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvGet(SS_ID ss, VAR_ID varId, enum compT
if
(
status
)
return
epicsEventSignal
(
getSem
),
status
;
break
;
case
epicsEventWaitTimeout
:
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvGet(ss %s, var %s, pv %s): user error "
"(there is already a get pending for this variable/"
"state set combination)
\n
"
,
...
...
@@ -211,7 +211,7 @@ epicsShareFunc boolean epicsShareAPI seq_pvGetComplete(SS_ID ss, VAR_ID varId)
}
else
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvGetComplete(%s): user error (variable not assigned)
\n
"
,
ch
->
varName
);
...
...
@@ -329,7 +329,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvPut(SS_ID ss, VAR_ID varId, enum compT
}
if
(
!
dbch
)
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvPut(%s): user error (variable not assigned)
\n
"
,
ch
->
varName
);
...
...
@@ -354,7 +354,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvPut(SS_ID ss, VAR_ID varId, enum compT
tmo
-=
(
after
-
before
);
break
;
case
epicsEventWaitTimeout
:
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvPut(ss %s, var %s, pv %s): failed (timeout "
"waiting for other put requests to finish)
\n
"
,
ss
->
ssName
,
ch
->
varName
,
dbch
->
dbName
...
...
@@ -377,7 +377,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvPut(SS_ID ss, VAR_ID varId, enum compT
meta
->
severity
=
pvSevrMAJOR
;
meta
->
message
=
"already one put pending"
;
status
=
meta
->
status
;
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvPut(ss %s, var %s, pv %s): user error "
"(there is already a put pending for this variable/"
"state set combination)
\n
"
,
...
...
@@ -642,7 +642,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvMonitor(SS_ID ss, VAR_ID varId)
}
if
(
!
dbch
)
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvMonitor(%s): user error (variable not assigned)
\n
"
,
ch
->
varName
);
...
...
@@ -668,7 +668,7 @@ epicsShareFunc pvStat epicsShareAPI seq_pvStopMonitor(SS_ID ss, VAR_ID varId)
}
if
(
!
dbch
)
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvStopMonitor(%s): user error (variable not assigned)
\n
"
,
ch
->
varName
);
...
...
@@ -982,7 +982,7 @@ epicsShareFunc boolean epicsShareAPI seq_pvGetQ(SS_ID ss, VAR_ID varId)
if
(
!
ch
->
queue
)
{
errlogSevPrintf
(
errlog
Fatal
,
errlogSevPrintf
(
errlog
Major
,
"pvGetQ(%s): user error (variable not queued)
\n
"
,
ch
->
varName
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment