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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Testing UIs against real databases using simulation mode
From: Angus Gratton <[email protected]>
To: tech-talk <[email protected]>
Date: Mon, 29 Nov 2010 16:57:07 +1100
Does anyone have any tips on simulating hardware for easy/quick UI
development?

My intention is to be able to test that a given UI and a database talk
properly, before facing the problem of having the database talk to the
hardware. I'm using wxPython w/ pyepics for the UIs.

I've read about the 'simulation mode' record fields in the Record
Reference & App Developer's Guide, but I don't just want to switch a
single record over to simulation mode. I want to control a soft IOC
without any of my real target hardware, but with equivalent PV names.

Have I missed an available resource somewhere?

At the moment I'm thinking the easiest way may be to just run sed over
my database file to change all the DTYPs to asyn soft records (all our
hardware records are asyn), and then fix up the INP/OUT port names. Then
I can just poke in the values I need for UI testing at runtime, using
iocsh or caget/caput.

Thanks in advance for any tips.

Cheers,

Angus




Replies:
RE: Testing UIs against real databases using simulation mode tom.cobb
Re: Testing UIs against real databases using simulation mode J. Lewis Muir

Navigate by Date:
Prev: makeBaseApp.pl in 3.14.12 with custom INSTALL_LOCATION Hinko Kocevar
Next: RE: Testing UIs against real databases using simulation mode tom.cobb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: makeBaseApp.pl in 3.14.12 with custom INSTALL_LOCATION Hinko Kocevar
Next: RE: Testing UIs against real databases using simulation mode tom.cobb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 30 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·