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  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Intended use of NTMultiChannel
From: "Paduan Donadio, Marcio via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 17 Dec 2020 05:11:31 +0000

I have a NTMultiChannel created using the C++ API. I pvput to channelName passing a valid PV name. I placed a printf inside the process() method just to check if the record is processing and I can confirm it does.

 

When I pvget I expected to see the other fields of the record populated with values from the PV in channelName. Is it intended that inside process() I write the commands to bring the data for each channel and write to the fields of the NTMultiChannel? Is there a default “record support” that has it already implemented and I can use?

 

Some data:

 

Epics base 7.0.3

 

$ pvget GMDTest:NTScalar

GMDTest:NTScalar 0

 

$ pvput GMDTest:NTMultiChannel 'channelName=["GMDTest:NTScalar"]'

Old : epics:nt/NTMultiChannel:1.0

    any[] value

    string[] channelName []

    int[] severity []

    int[] status []

    string[] message []

    boolean[] isConnected []

New : epics:nt/NTMultiChannel:1.0

    any[] value

    string[] channelName ["GMDTest:NTScalar"]

    int[] severity []

    int[] status []

    string[] message []

    boolean[] isConnected []

 

$ pvget GMDTest:NTMultiChannel

GMDTest:NTMultiChannel epics:nt/NTMultiChannel:1.0

    any[] value

    string[] channelName ["GMDTest:NTScalar"]

    int[] severity []

    int[] status []

    string[] message []

    boolean[] isConnected []


Replies:
Re: Intended use of NTMultiChannel Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: RE: [EXTERNAL] RE: Timestamping Confusion Manoussakis, Adamandios via Tech-talk
Next: synApps_6_1 build error on windows-x64 with EPICS 7 Markus Huber 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: WITec alpha300R VIS Heinz Junkes via Tech-talk
Next: Re: Intended use of NTMultiChannel Michael Davidsaver 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  <20202021  2022  2023  2024 
ANJ, 17 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·