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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Device support : TCP/IP packet |
From: | Mark Rivers <[email protected]> |
To: | "'Sud Roy'" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Tue, 7 Jan 2014 18:20:24 +0000 |
You should use the “asyn” module to communicate with your device. The following command: drvAsynIPPortConfigure(“MyPort”, “my_ip_address”, 0,0,0) will create an asyn port called MyPort connected to your device with IP name or address “my_ip_address”. You may be able to use the “StreamDevice” module to construct your command string, depending on how complex it is. If not, you can write a driver using the
asynPortDriver C++ class to create the command commands. Mark From: [email protected] [mailto:[email protected]]
On Behalf Of Sud Roy Hi Everyone, I am a newbie. I am having EPICS iocCore running with few records and able to update records with device support using CONSTANT link from a random function. Need help/guidance to interface record to the external hardware. Our hardware accepts command string packed in a C struct , sent via standard ethernet TCP/IP packet. Thank you. Best regards, Sudeep Roy Pune - 411001, =====-----=====-----===== |