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  2014  2015  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: send/receive waveform over network.
From: Tomasz Brys via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 6 Feb 2020 15:42:38 +0000
Hi 
I have a beginner question. I want to send via ethernet (TCP/UDP) a waveform from IOC to external device. The waveform consists of binary data and can be big so the Stream Device is not a solution. To simplify the problem, I tested it with longout and a local server listening on port 7777.
In my startup command I have:

drvAsynIPPortConfigure("det-stream", "localhost:7777")

Then I load my db, which is very simple: 

record(longout, "p") {
    field(VAL, “1”)
    field(DTYP, "asynInt32")
    field(OUT,  "@asyn(det-stream)")
}

I started IOC, no errors. But how I can send the VAL over TCP? 
“dbpf p 2” does not work, neither “dbpf p.PROC”
Do I have to write my own implementation of asynDriver?
Is it any differences between sending longout and waveform?

Regards
Tomasz


Navigate by Date:
Prev: Re: ThorLabs motor driver Mark Rivers via Tech-talk
Next: Fwd: send/receive waveform over network. Mark Rivers via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: lock/unlock mutex problem Johnson, Andrew N. via Tech-talk
Next: Fwd: send/receive waveform over network. Mark Rivers via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 06 Feb 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·