You have to provide different 'port names' for the devices. e.g.:
drvAsynIPPortConfigure "terminalA", "10.30.9.28:4016"
drvAsynIPPortConfigure "terminalB", "10.30.9.28:4015"
drvAsynIPPortConfigure "terminalC", "10.30.9.28:4014"
drvAsynIPPortConfigure "terminalD", "10.30.9.28:4013"
I would further suggest that you make the port names something that
reflects the equipment attached to the port:
drvAsynIPPortConfigure "Voltmeter", "10.30.9.28:4016"
drvAsynIPPortConfigure "Power Supply 1", "10.30.9.28:4015"
drvAsynIPPortConfigure "Power Supply 2", "10.30.9.28:4014"
drvAsynIPPortConfigure "Current Source", "10.30.9.28:4013"
On Oct 31, 2008, at 12:58 PM, marco_hair wrote:
hi:
I am using streamDevice driver to drive several same devices,
they connect to different ports. If I modifiy the example.cmd like
this:
drvAsynIPPortConfigure "terminal", "10.30.9.28:4016"
drvAsynIPPortConfigure "terminal", "10.30.9.28:4015"
drvAsynIPPortConfigure "terminal", "10.30.9.28:4014"
drvAsynIPPortConfigure "terminal", "10.30.9.28:4013"
when ioc runs, it shows:
drvAsynIPPortConfigure "terminal", "10.30.9.28:4016"
drvAsynIPPortConfigure "terminal", "10.30.9.28:4015"
asynCommon:registerDriver terminal already registered
drvAsynIPPortConfigure: Can't register myself.
....
If I load only one device, all is ok. Can I load several same
devices in one EPICS application? Or need I seperate them to four
applications?
Thanks a lot for any help.
Best wishes
Geyang 2008/11/1
网易邮箱10周年,技术见证辉煌
--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
- References:
- how to load several same devices in stream marco_hair
- Navigate by Date:
- Prev:
how to load several same devices in stream marco_hair
- Next:
RE: GPIB - asyn - streamdevice Szalata, Zenon M.
- 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:
how to load several same devices in stream marco_hair
- Next:
Re: MVME6100 or 7100 Kate Feng
- 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
|