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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: how to load several same devices in stream |
From: | Eric Norum <[email protected]> |
To: | marco_hair <[email protected]> |
Cc: | tech-talk <[email protected]> |
Date: | Fri, 31 Oct 2008 13:06:55 -0500 |
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"
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