Subject: |
Re: Testing UIs against real databases using simulation mode |
From: |
Andrew Johnson <[email protected]> |
To: |
[email protected] |
Date: |
Mon, 29 Nov 2010 16:57:19 -0600 |
Hi Angus,
On Monday 29 November 2010 16:17:15 Angus Gratton wrote:
>
> Btw, at the moment, all the devices I'm using are register-based with
> custom asynPortDrivers. So I can't make stubs via TCP or other
> protocols, unfortunately.
That statement immediately suggests to me that the best place for a simulator
would be to write a generic port driver with a scripted back-end that would
allow you to emulate all of your devices. I have no experience of doing this
but it sounds like you might be able to embed a Python interpreter or similar
to do the scripting. However this is just a suggestion, without knowing more
about your particular custom Asyn protocols I can't really say whether it
would be sensible or not.
Good luck!
- Andrew
--
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it. If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence. -- Bertrand Russell
- References:
- Testing UIs against real databases using simulation mode Angus Gratton
- Re: Testing UIs against real databases using simulation mode J. Lewis Muir
- Re: Testing UIs against real databases using simulation mode Angus Gratton
- Navigate by Date:
- Prev:
Re: Testing UIs against real databases using simulation mode Angus Gratton
- Next:
Monitoring CPU temperature for small IOC David Morris
- 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
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Testing UIs against real databases using simulation mode Angus Gratton
- Next:
Strange IOC crash Benjamin Franksen
- 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
2022
2023
2024
|