Subject: |
Re: may I start a pcaspy ioc together with a streamdevice ioc? |
From: |
Rod Nussbaumer <[email protected]> |
To: |
[email protected] |
Date: |
Thu, 28 Jul 2016 10:20:26 -0700 |
If this is using Linux-GPIB as the underlying asyn port driver, then
there is apparently a long standing bug that causes waveform records to
transfer very slowly with streamDevice. My workaround for this was to
use a waveform record with asynOctetCmdResponse DTYP (thanks to either
Eric or Mark for suggesting that) for that one operation. I post-process
the octet data using a subroutine record and it works fine. The OP's
problem seems to be a bit more complicated, as the array needs to be
sent, rather than received, but if the cause of the problem is a match,
at least the solution may be closer at hand.
Rod Nussbaumer,
TRIUMF,
Vancouver, Canada
On 07/25/2016 04:45 AM, Mark Rivers wrote:
Why is StreamDevice slow to transfer the data? I don't think that should be the case, StreamDevice should be able to go as fast as any other software. I think the simplest solution would be to figure out why StreamDevice is slow for you.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Silver [[email protected]]
Sent: Monday, July 25, 2016 6:34 AM
To: tech-talk
Subject: may I start a pcaspy ioc together with a streamdevice ioc?
hi, all
I have a normal streamdevice ioc which controls power supply via ethernet. Now I want to add a function to send large waveform data (about 10000 floats) to power supply. If I just use streamdevice to transfer the data, the speed is slow and can't satisfy my requriement.
I with to use pcaspy to creat another ioc as it can supply a pv to a client, for example, which inform to send data by a pv write, then the pcaspy ioc will send the data to power supply by ethernet. so I have two questions:
1. how to use the same socket of streamdevice? power supply controller has only one socket server. (during data transfer, I can stop the streamdevice db processing)
2. how to hook up the pcaspy ioc together with streamdevice ioc? (if I don't want to use procServ or inet, etc.)
thanks a lot for your help.
________________________________
Best wishes
Geyang 2016-07-25
- Replies:
- RE: may I start a pcaspy ioc together with a streamdevice ioc? Mark Rivers
- References:
- may I start a pcaspy ioc together with a streamdevice ioc? Silver
- RE: may I start a pcaspy ioc together with a streamdevice ioc? Mark Rivers
- Navigate by Date:
- Prev:
NDArrayPool::alloc failing Phil Atkin
- Next:
RE: may I start a pcaspy ioc together with a streamdevice ioc? Mark Rivers
- 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:
RE: may I start a pcaspy ioc together with a streamdevice ioc? Mark Rivers
- Next:
RE: may I start a pcaspy ioc together with a streamdevice ioc? Mark Rivers
- 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
|