EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  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  <20142015  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
Sent: Tuesday, January 07, 2014 6:28 AM
To: [email protected]
Subject: Device support : TCP/IP packet

 

 

 

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
Tata
Consultancy Services
1 Mangaldas Road,

Pune - 411001,
India
Cell:- +91-8446371921
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


References:
Device support : TCP/IP packet Sud Roy

Navigate by Date:
Prev: RE: extensionsTop CONFIG_SITE file for Raspberry Pi Anderson, Janet B.
Next: Re: Increasing scan rate to 10 kHz Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Device support : TCP/IP packet Sud Roy
Next: Re: Increasing scan rate to 10 kHz Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·