Forgot to CC tech-talk.
Sent from my iPhone
Begin forwarded message:
From: Mark Rivers <rivers at cars.uchicago.edu<mailto:rivers at cars.uchicago.edu>>
Date: February 6, 2020 at 11:11:17 AM CST
To: Tomasz Brys <Tomasz.Brys at ess.eu<mailto:Tomasz.Brys at ess.eu>>
Subject: Re: send/receive waveform over network.
Hi Tomasz,
There is no limitation that prevents Stream Device from sending a large waveform. In fact I have done so with the Tabor waveform generator in the synApps "ip" module.
https://github.com/epics-modules/ip/blob/master/ipApp/Db/Tabor8024.proto
Mark
Sent from my iPhone
On Feb 6, 2020, at 11:02 AM, Tomasz Brys via Tech-talk <tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>> wrote:
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
- References:
- send/receive waveform over network. Tomasz Brys via Tech-talk
- Navigate by Date:
- Prev:
send/receive waveform over network. Tomasz Brys via Tech-talk
- Next:
Re: areaDetector crashes EPICS IOC and autosave failure Jong Woo Kim 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
send/receive waveform over network. Tomasz Brys via Tech-talk
- Next:
Re: 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
<2020>
2021
2022
2023
2024
|