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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | sending pickled python objects of epics channel access |
From: | "Madden, Timothy J." <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 15 May 2017 22:00:10 +0000 |
Folks
This is probably a bad idea... But if I were to take a python object, call pickle.dumps() to convert it into a string, I could then caput it to a waveform record. Then some other py client could caget, then call pickle.loads() from the waveform record. then we get the object back. So we are sending python objects over epics CA.
Has anyone tried this? Seems straightforward. Just how bad an idea is this?
Tim Madden
|