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: Record not processing in simulation mode
From: "Konrad, Martin via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 13 May 2019 18:01:29 +0000
Hi,
Using simulation mode for the first time I noticed some behavior I
didn't expect.

When I use the attached simple database and perform the following puts

caput foo.SIMM YES
caput foo.SVAL 42

foo.VAL changes to 42. This is what I expect.

However, when I try the same thing with a record that is tied to
hardware (also RTYP=ai but DTYP=asynFloat64, SCAN=I/O Intr) the record
doesn't process on writes to the SVAL field. Poking it manually ("caput
foo.PROC 1") triggers processing, though.

Is this how it should be? If so can someone shine some light on why it
is behaving like this?

Thanks a lot,

Martin

-- 
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]
record(calc, "random") {
  field(CALC, "RNDM")
  field(SCAN, "1 second")
}

record(ai, "foo") {
  field(INP,  "random CPP MS")
}

Replies:
Re: Record not processing in simulation mode Ralph Lange via Tech-talk

Navigate by Date:
Prev: Using PVUtil to get PV's value when PV name is input as string in CSS Tyler Lemon via Tech-talk
Next: Re: Record not processing in simulation mode Konrad, Martin 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: Re: Using PVUtil to get PV's value when PV name is input as string in CSS Tyler Lemon via Tech-talk
Next: Re: Record not processing in simulation mode Konrad, Martin 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