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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: create arrays in EDM |
From: | "Andrew C. Starritt" <[email protected]> |
To: | Jovan Loncar <[email protected]> |
Cc: | Tech Talk <[email protected]> |
Date: | Thu, 8 Apr 2010 10:06:11 +1000 |
Jovian, I wanted to create four 100-tuple array PVs from
four sets of 100 scalar PVs (for use with our 100 element detector, the four array PVs to be read by the sscan
record), so I wrote a “concat” record that that marshals a set input PVs into an array PV. The inputs can be scalers or array PVs (or even
constant scaler values); and a hierarchy of cancat records can be used to if needs be. I can mail a tar ball of the code (includes some
ocumentaion) on request. Regards
From: [email protected]
[mailto:[email protected]] On Behalf Of Ned Arnold I suggest you write a sequence program (SNL) that connects
to all the 200 numbers and create waveforms for X and Y axis. You can
assign elements within an array to different <scalar> PVs: assign xValues[0] to "L0:P2:BPM.XPOS"; assign yValues[0] to "L0:P2:BPM.YPOS"; assign iValues[0] to "L0:P2:BPM.VAL"; assign beamDetect[0] to
"L0:P2:BPM.NBFG"; assign xValues[1] to "L1:P0:BPM.XPOS"; assign yValues[1] to "L1:P0:BPM.YPOS"; assign iValues[1] to "L1:P0:BPM.VAL"; assign beamDetect[1] to "L1:P0:BPM.NBFG"; You can also implement any additional processing that might
be required (invalid data, etc). I would show you a nice beam trajectory where the BPMs
reside on different IOCs ... but the machine isn't running at them moment.
:( Ned On Apr 6, 2010, at 9:04 AM, Jovan Loncar wrote:
On 04/03/2010 02:10 PM, Dalesio, Leo wrote: It is not
totally clear what the goal is......
If you only need a plug in EDM, look at the
CALC example. If has channel access on one side and creates a result on the
other side.
This message and any attachments may contain proprietary or confidential information. If you are not the intended recipient or you received the message in error, you must not use, copy or distribute the message. Please notify the sender immediately and destroy the original message. Thank you. |