Experimental Physics and Industrial Control System
|
Hi Andrew,
me again. Epics4 works now for me, everything solved with some hints of michael.
The problem of camonitor with specifying a deadband:
I got from camonitor the following. The multiple servers could be a problem, but I do not know how to get rid of it in my centos with virtualbox.
EPICS_CA_ADDR_LIST=localhost has been specified
I get after starting the softioc
camonitor ACM:TEST:AO.{"dbnd":{"abs":1.5}}
ACM:TEST:AO.{dbnd:{abs:1.5}} <undefined> 0 UDF INVALID
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "ACM:TEST:AO.{dbnd:{abs:1.5}}", Connecting to: 10.0.2.15:5064, Ignored: osboxes:5064"
Source File: ../cac.cpp line 1320
Current Time: Sun Oct 03 2021 04:22:15.964251792
..................................................................
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "ACM:TEST:AO.{dbnd:{abs:1.5}}", Connecting to: 10.0.2.15:5064, Ignored: localhost:5064"
Source File: ../cac.cpp line 1320
Current Time: Sun Oct 03 2021 04:22:15.964387808
..................................................................
when I do caput ACM:TEST:AO 1 I do not get a monitor
when I do caput ACM:TEST:AO 2 I get
ACM:TEST:AO.{dbnd:{abs:1.5}} 2021-10-03 04:24:03.931949 2
If it works for you, then I wonder what is going on.
many thanks
From: Johnson, Andrew N. <anj at anl.gov>
Sent: Sunday, October 3, 2021 12:27:02 AM
To: Mezger Anton Christian (PSI)
Cc: EPICS tech-talk
Subject: Re: channel and pv deadband
Hi Anton,
On Oct 1, 2021, at 8:14 AM, Mezger Anton Christian (PSI) via Tech-talk < tech-talk at aps.anl.gov> wrote:
The
problem is with the deadband specified as filter with a channel or pv. My example:
record(ao,"ACM:TEST:AO") {
...
field(DTYP,"Soft Channel")
...
field(MDEL,"0.000000000000000e+00")
...
}
and withcamonitor ACM:TEST:AO.{"dbnd":{"abs":1.5}}
I only get update when I put a value outside the deadband
I can’t seem to replicate your issue. I’m using this database:
woz$ cat ~/db/analog.db
record(ai, "ai") {}
record(ao, "ao") {}
Here’s me starting the soft IOC and writing to the records:
woz$
softIoc -d ~/db/analog.db
Starting iocInit
############################################################################
## EPICS R7.0.6.1-DEV
## Rev. R7.0.6-23-g21e7e4ddfbfbcf8ca5c6-dirty
############################################################################
iocRun: All initialization complete
epics> dbpf ai 10
DBF_DOUBLE: 10
epics> dbpf ai 0
DBF_DOUBLE: 0
epics> dbpf ai 1
DBF_DOUBLE: 1
epics> dbpf ai 1.49
DBF_DOUBLE: 1.49
epics> dbpf ai 1.5
DBF_DOUBLE: 1.5
epics> dbpf ai 1.501
DBF_DOUBLE: 1.501
epics> dbpf ao 1.5
DBF_DOUBLE: 1.5
epics> dbpf ao 1.501
DBF_DOUBLE: 1.501
epics> dbpf ao 1
DBF_DOUBLE: 1
epics> dbpf ao 0.1
DBF_DOUBLE: 0.1
epics> dbpf ao 0
DBF_DOUBLE: 0
and here’s what my camonitor output looked like. I started it immediately after the softIoc, before the first dbpf command above:
woz$ camonitor 'ai.{dbnd:{abs:1.5}}' 'ao.{dbnd:{abs:1.5}}'
ai.{dbnd:{abs:1.5}} <undefined> 0 UDF INVALID
ao.{dbnd:{abs:1.5}} <undefined> 0 UDF INVALID
ai.{dbnd:{abs:1.5}} 2021-10-02 17:08:32.684729 10
ai.{dbnd:{abs:1.5}} 2021-10-02 17:08:39.867667 0
ai.{dbnd:{abs:1.5}} 2021-10-02 17:09:05.595295 1.501
ao.{dbnd:{abs:1.5}} 2021-10-02 17:09:32.741622 1.501
ao.{dbnd:{abs:1.5}} 2021-10-02 17:10:02.573699 0
The first two lines that show the undefined timestamp and UDF/Invalid alarm give the initial channel values as zero, then after testing with 10 and 0 there were no monitors posted until the value went over the deadband.
If you’re seeing something different, can you post your complete output from camonitor?
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|
- Replies:
- Re: channel and pv deadband Mezger Anton Christian (PSI) via Tech-talk
- References:
- channel and pv deadband Mezger Anton Christian (PSI) via Tech-talk
- Re: channel and pv deadband Kasemir, Kay via Tech-talk
- Re: channel and pv deadband Mezger Anton Christian (PSI) via Tech-talk
- Re: channel and pv deadband Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: channel and pv deadband Johnson, Andrew N. via Tech-talk
- Next:
Re: channel and pv deadband Mezger Anton Christian (PSI) via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: channel and pv deadband Johnson, Andrew N. via Tech-talk
- Next:
Re: channel and pv deadband Mezger Anton Christian (PSI) via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 03 Oct 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|