EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Fwd: Re: SNL improvement and ideas]
From: Ralph Lange <[email protected]>
To: [email protected]
Cc: Ron Chestnut <[email protected]>
Date: Wed, 13 Jul 2005 14:35:02 -0500
Just forwarding this - hoping that it hits some SNL people somewhere ...

Ralph
--- Begin Message ---
Subject: RE: SNL improvement and ideas
From: "Liyu, Andrei" <[email protected]>
To: Ralph Lange <[email protected]>
Date: Wed, 13 Jul 2005 14:27:25 -0400
Ralph,

	I suppose SNL team people should solve one problem. Question is about timestamp. SNL program read PV and then write to another PV. What about timestamp? 
	If I am not mistaken 
- SNL use CA and doesn't use db access library.
- CA put doesn't support timestamp.
	I use something like

	//write timestamp
	dbCommon * pRecord = ( dbCommon *) oSData.precord;
	dbScanLock( pRecord);
	pRecord->time.secPastEpoch = pCRegistrationPart->lFGetTimestampSec();
	pRecord->time.nsec = pCRegistrationPart->lFGetTimestampNSec();
	dbScanUnlock( pRecord);
	//write value
	if( dbPutField( &oSData, DBR_FLOAT, AfData, csNDDataLength) != 0)
			vFSendMessage( "Couldn't setup record");

Of course, record in db has
	field(TSE, "-2")

	There is not problem but program does some job twice! I don't like that and fell uncomfortable.
	Maybe I miss something again (like CMLOG) :-)

Thank you in advance, Andrei.


-----Original Message-----
From: Ralph Lange [mailto:[email protected]] 
Sent: Wednesday, July 13, 2005 1:43 PM
To: Ron Chestnut
Cc: [email protected]
Subject: SNL improvement and ideas

Hi Ron,

Ben Franksen and Götz Pfeiffer came up with a bunch of excellent ideas 
for the next generation SNL lately. They did what I thought would be 
best in that phase: They started writing down their ideas and putting 
them onto the EPICSwiki.

So ... would you please have a look at their ideas 
(http://www.aps.anl.gov/epics/wiki/index.php/V4_Replacement_for_SNL) and 
get in touch with them about how to coordinate further discussions and 
include whatever seems useful? I don't know if and how much time they 
can spare for development, but I'm sure they'd be willing to contribute 
in whatever way they can.

Thanks for considering!
Ralph

--- End Message ---

Navigate by Date:
Prev: SNL improvement and ideas Ralph Lange
Next: Re: SNL improvement and ideas Benjamin Franksen
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SNL improvement and ideas Benjamin Franksen
Next: Network Accessable Types Marty Kraimer
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·