EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Waveform Records
From: "David Dudley" <[email protected]>
To: <[email protected]>
Date: Thu, 04 Sep 2008 14:43:47 -0500
I've got  Modbus and Siemens drivers that I wrote a while back, that are
based on the directAsyn driver that Andrew wrote some time ago.  They
both use almost completely shared code, with the exception of the actual
address resolver and protocol driver portions of the drivers.

I've got ai, ao, bi, bo, longin, longout, mbbi, mbbiDirect, mbbo,
mbboDirect, stringin, and stringout support in them already, for binary,
integer, long, float, double float, and strings, and need to add
waveform support into them (whew! didn't realize I'd added so many...),
so just trying to figure the best way to implement the additions.

Looks like it may be easier to add than I anticipated.

David

>>> "Mark Rivers" <[email protected]> 9/4/2008 2:30:22 PM >>>
David,

Does the PLC use Modbus?  If so, my Modbus software may let you
directly
read that array into a waveform record, which medm or edm can directly
display.  You would not need to write any code.

If it is not Modbus then you will probably need to write device
support
for the waveform record to read the PLC and put the data in the
waveform
array.

Mark


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of David Dudley
Sent: Thursday, September 04, 2008 1:32 PM
To: [email protected] 
Subject: RE: Waveform Records

Maybe a little background would help.
I've got a PV where they want to watch real-time historical
information
over the past 4 hours.

The PLC that acquires that PV stores this information in a FIFO buffer
once every 60 seconds, with time stamp information should I require it
(the PLC actually has a buffer that stores the last 48 hours, which
means I actually have 2880 samples, all available at any time).  The
desire is to 'see' that information in graphical form if possible, or
in
a table form if not.

David

>>> "Dalesio, Leo" <[email protected]> 9/4/2008 1:14:45 PM >>>

Some issues ---
1) waveforms are just arrays. You're device support can fill it any
way
you like.
2) there is a circular buffer record that already does this either
ring
buffer - or successive averaging or keep high or low for each sample.
3) we do not queue the array - so if your client is not getting them
fast enough in monitoring - then you will loose old arrays. You may
even
get half of one and half of another. This system needs to be set up
carefully.
4) There is a subarray record for just reading an area of interest.
5) we did not do the meta data correctly - so no indication of the
unit
of time between samples within the array.


-----Original Message-----
From: [email protected] on behalf of David Dudley
Sent: Thu 9/4/2008 2:04 PM
To: [email protected] 
Subject: Waveform Records
 
Need a little 'training' on waveform records....

1. With a waveform record, with each scan of the I/O device, does the
device read in a single sample, or a whole waveform?

2. Can waveforms be setup to operate in a continuous FIFO manner?  In
other words, a sliding window of data items collected over time?

3. Can 'edm' display a waveform record, and if so, how?  If 'edm'
can't
display them, is there a program that can?

David


BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:David Dudley
TEL;WORK:826-1265
ORG:;MIS
TEL;PREF;FAX:880-3741
EMAIL;WORK;PREF;NGW:[email protected]
N:Dudley;David
TITLE:Functional Analyst
END:VCARD


References:
RE: Waveform Records David Dudley
RE: Waveform Records Mark Rivers

Navigate by Date:
Prev: RE: Waveform Records Mark Rivers
Next: Re: Waveform Records Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Waveform Records Mark Rivers
Next: sseq link problem on Linux Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·