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: | phoebus: write waveform PV |
From: | William Kirstaedter via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Mon, 11 Apr 2022 13:57:05 +0200 |
Hi,
I have a short question:
I have a small embedded python script that generates a waveform of 4096 points from a user-given formula. (i.e. sin(t))
I want to write that waveform data to the corresponding PV.
But phoebus / Jython complains about not being able to write a pyList Datatype ...
Caused by: java.lang.Exception: Cannot
handle type org.python.core.PyList
How can I convert my python list object to a DoubleArray?
I tried to import VDoubleArray but its abstract ...
Thanks,
![]() |
|
William Kirstaedter (PP&B) | Fritz-Haber-Institut der MPG |
Faradayweg 4-6 | 14195 Berlin |
Tel: 030 8413 5405 | Mail: kirstaedter at fhi-berlin.mpg.de |
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature