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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: pvput and enum (EPICS 7.0.3)
From: Mark Rivers via Tech-talk <[email protected]>
To: 'Alfio Rizzo' <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 21 Aug 2019 15:42:56 +0000

This is a known problem with writing enum fields with pvPut in 7.0.3.

 

See this core-talk thread.

 

https://epics.anl.gov/core-talk/2019/msg00810.php

 

Mark

 

 

From: [email protected] <[email protected]> On Behalf Of Alfio Rizzo via Tech-talk
Sent: Wednesday, August 21, 2019 8:24 AM
To: [email protected]
Subject: pvput and enum (EPICS 7.0.3)

 

HI

I am running a simple ioc with a bi record

 

record(bi, "$(user):SimulationMode") {

  field(DESC, "Operational Status")

  field(ZNAM, "NO")

  field(ONAM, "YES")

  field(PINI, "YES")

  field(VAL,  "0")

}

 

And I was wondering why I cannot change its value (0/1) via pvput

unless I use –p ca option.  Instead pvmnonitor and pvget are working fine.

 

If I put this line on the record definition

 

field(INP , "$(user):SimulationMode.RVAL")

 

Then I can change the .RVAL via pvput and then VAL will change accordingly

 

Why does pvput work only with Scalar and not with Enum field ?

Is this a feature ?

Thanks

Best

 

PhD Alfio Rizzo

Control System Integrator

Integrated Control Systems Division

European Spallation Source ERIC

 

Telephone: +46(0)721792342

Mail Address: P.O Box 176, SE 221 00 Lund, Sweden

Visiting address: Odarslövsvägen 113, Lund

 

https://europeanspallationsource.se/

 

essLogo

 


References:
pvput and enum (EPICS 7.0.3) Alfio Rizzo via Tech-talk

Navigate by Date:
Prev: pvput and enum (EPICS 7.0.3) Alfio Rizzo via Tech-talk
Next: Is anyone building AreaDetector with Sumo? Johnson, Andrew N. 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: pvput and enum (EPICS 7.0.3) Alfio Rizzo via Tech-talk
Next: Is anyone building AreaDetector with Sumo? Johnson, Andrew N. 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  <20192020  2021  2022  2023  2024