Experimental Physics and Industrial Control System
Hi Ernest
I have a simple TCP server, written in python, which sends ascii string reply on request. As a part of our streamdevice IOC template, the server is hooked up with streamdevice-based IOC like:
drvAsynIPPortConfigure("$(SYSASYNPORT)","localhost:5000",0,0,0)
You can try the server e.g. with netcat utility:
nc localhost 5000
or include records from template and streamdev protocol file (all in the attached tarball).
Cheers,
Tomas
________________________________________
Od: [email protected] [[email protected]] za uživatele Williams Jr., Ernest L. [[email protected]]
Odesláno: 12. června 2015 5:25
Komu: [email protected]
Předmět: Is there a device simulator to test against an Asyn/StreamDevice IOC App
Hi everyone,
I just followed this thread:
"Testing UIs against real databases using simulation modeTesting UIs against real databases using simulation mode"
on EPICS Tech Talk.
I would like to test a streamdevice enabled IOC Application against a simulated device.
Has someone already built a Python-based Device simulator?
Cheers,
Ernest
Attachment:
Ernest-python-asynserver.tar.gz
Description: Ernest-python-asynserver.tar.gz
- Replies:
- Re: Is there a device simulator to test against an Asyn/StreamDevice IOC App Ernest L. Williams Jr.
- References:
- Is there a device simulator to test against an Asyn/StreamDevice IOC App Williams Jr., Ernest L.
- Navigate by Date:
- Prev:
RE: Is there a device simulator to test against an Asyn/StreamDevice IOC App tom.cobb
- Next:
Re: Is there a device simulator to test against an Asyn/StreamDevice IOC App Ernest L. Williams Jr.
- 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: Is there a device simulator to test against an Asyn/StreamDevice IOC App tom.cobb
- Next:
Re: Is there a device simulator to test against an Asyn/StreamDevice IOC App Ernest L. Williams Jr.
- 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