Hi,
For this application this won't work, because the waveform in the second IOC is using asyn device support (with areaDetector), so it's INP field is already in use for asyn. One way to do this would be with an asub record on either IOC, reading from the waveform that LabView controls, and writing to the areaDetector waveform in the second IOC.
But a better solution might be to change how you are interfacing EPICS to LabView. You are using the shared memory device support. Why not change to using the LabView Channel Access interface? Then you can directly write the waveform to the second IOC from LabView.
Mark
________________________________
From: [email protected] on behalf of Andrew Johnson
Sent: Thu 5/27/2010 7:44 AM
To: [email protected]
Cc: fenggangbian
Subject: Re: a waveform record question
On Wednesday 26 May 2010 09:33:33 fenggangbian wrote:
> Hi,
>
> Now I am working a program using LabView talk to EPICS by shared
> memeory. LabView create a local softIOC ,firstly LabView talk to the soft
> ioc and use the softioc to connect other outside ioc. I may already use
> LabView to connect soft IOC. I encounter a question that how to write a
> waveform PV in soft IOC to other waveform PV in anther IOC. The support
> record of array in the soft IOC only have subArray record and waveform
> record. Such as aao etc record don't support.
The waveform record has soft support using the INP link, so your second IOC
could read the waveform data from the soft IOC. If you mark the input link as
CP it will process that record automatically whenever the source record posts
a monitor on value update.
- Andrew
--
The best FOSS code is written to be read by other humans -- Harald Welte
- References:
- a waveform record question fenggangbian
- Re: a waveform record question Andrew Johnson
- Navigate by Date:
- Prev:
Re: CA web service Re: iPhone port Ralph Lange
- Next:
building areaDetector firewire support on Windows John Dobbins
- 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: a waveform record question Andrew Johnson
- Next:
stream device formatting question Burkhard Kolb
- 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
|