Experimental Physics and
| |||||||||||||||
|
Hello, total EPICS newbie here... I have a device that communicates via IP ports and is always initialized on port 3000. When I send an initialization message on that port it returns three new port numbers in a string and sends different types of information over each. The returned port numbers can vary each time communication is established. What is the best way to initialize this device? All the examples I have looked at have only one port initialized in st.cmd using drvAsynIPPortConfigure.
I was thinking I could initialize port 3000 in st.cmd, make a record that passes the initialization command via a stream record, link the output to a scalcout record that parses the string and sends the port number to several subroutine records that initialize the new ports... however that seems complicated and I wanted to ask if there is a better way or if this method would work at all.
| ||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |