Experimental Physics and Industrial Control System
|
Hi,
use asynDriver <http://www.aps.anl.gov/epics/modules/soft/asyn/> and set up a
serial port like this:
drvAsynSerialPortConfigure ("serialport","/dev/ttyS1")
Use the name "serialport" (or whatever other name you chose) to reference the
serial port in any device support that talks to asynDriver.
For an introduction on asynDriver, see
http://www.aps.anl.gov/epics/docs/USPAS2007/lectures/ASYN.ppt or
ftp://ftp.desy.de/pub/EPICS/meeting-2007/asynDriverIntroduction.pdf and of
course the documentation that is included in asynDriver.
Maybe, you want to use StreamDevice
<http://epics.web.psi.ch/software/streamdevice/> on top of asynDriver.
Dirk
zhangdemin99 wrote:
Dear all,
I want to use a RS232 interface to connect a linux PC which EPICS is
running on. Somebody suggest using drvSerial / drvASCII ,but I don't
know how to use it. Who can help me ? Is there any other method
to control the serial device ?
Many thanks in advance.
Demin Zhang
------------------------------------------------------------------------
150万人同时在玩的网游,你不试试吗?
<http://event.mail.163.com/chanel/xyq.htm?from=163_NO1>
--
Dr. Dirk Zimoch
Computing and Controls
Paul Scherrer Institut
phone +41 56 310 5182
fax +41 56 310 4413
- References:
- help-serial driver for linux zhangdemin99
- Navigate by Date:
- Prev:
help-serial driver for linux zhangdemin99
- Next:
wanted: rule to build products with own CFLAGS inside single Makefile Dayle Kotturi
- 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:
help-serial driver for linux zhangdemin99
- Next:
wanted: rule to build products with own CFLAGS inside single Makefile Dayle Kotturi
- 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
|
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|