Experimental Physics and Industrial Control System
|
Hi Himanshu,
The waveform PV has a single timestamp, which generally is the
time when the array was last modified. When you display the
waveform using EDM's xyGraph, you make the waveform be the Y PV.
If the X PV is not used, xyGraph will plot one point for each value
in your waveform array, and the X axis will just be the array index.
One option would be for you to provide a 2nd array for the X PV and
fill it with the time values for each value in your waveform. The
best
way I know how to create the time array would be with the aSub
record,
but maybe other EPICS user's may have other ways to do that.
The xyGraph widget also has a Time option for the X Axis, but in my
experience
this only works for scalar PV's. With a scalar PV, each update
of the PV value
also updates the timestamp, and xyGraph can show those timestamps as
either
relative durations in seconds from the time the graph is opened, or
as a time/date
string.
Hope this helps!
- Bruce
On 5/15/2013 1:58 AM, Himanshu Tyagi
wrote:
can we do this in control system studio also?
i have another question from where does the
waveform PV gets its time for plotting in XY graph?
i am plotting a PV of waveform type record but I
am somehow getting the wrong time displayed in graph.
please suggest
|
- Replies:
- Re: Relative time in XY graph Ralph Lange
- References:
- Relative time in XY graph Himanshu Tyagi
- Re: Relative time in XY graph Himanshu Tyagi
- Navigate by Date:
- Prev:
Re: PV value logging Vikram Bhagat
- Next:
Re: Fwd: Modbus DJ Roberts
- 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: Relative time in XY graph Chen, Xihui
- Next:
Re: Relative time in XY graph Ralph Lange
- 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, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|