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
Hi Everyone,
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