EPICS Home

Experimental Physics and Industrial Control System


 
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  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: pypva, PvObject and NTTable
From: Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 11 Aug 2022 04:55:23 +0000
Hello,
I am using a pypva server and publishing a NTTable object. This object is being displayed using the table widget of phoebus
   tablePV = PvObject(structDict, "epics:nt/NTTable:1.0")

I want to use a different number of columns depending upon the user configuration.
I have the following queries

1) Can I change the structDict to another struct2Dict and update the PV. The API getIntrospectionDict or getStructureDict can only get the existing structure. Is there any API to modify/update the structure of the pv object at runtime?

2) In the epics:nt/NTTable:1.0" object all the columns should have the same number of elements/rows. Is it possible to have different number elements/rows in different columns. Presently I am filling the empty ones with null string.

3) Is it possible to have the number of columns of the NTTable PvObject  to be programmable at run time. similar to as in C functions printf(char*, ...)

Presently I am deleting the PvObject and adding one with modified the structure Dictionary.

Thank you in advance.

Regards,
Kuldeep

Replies:
Re: pypva, PvObject and NTTable Kuldeep Joshi via Tech-talk

Navigate by Date:
Prev: Re: Makefile rule differences with base 3.14 vs 3.15+ in ADCore build with pvi Andrew Johnson via Tech-talk
Next: Re: pypva, PvObject and NTTable Kuldeep Joshi via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: Re: Makefile rule differences with base 3.14 vs 3.15+ in ADCore build with pvi Michael Davidsaver via Tech-talk
Next: Re: pypva, PvObject and NTTable Kuldeep Joshi via Tech-talk
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  <20222023  2024