I had the same problem. I used a sequence record as an intermediary to write the values from the aSub record and I used one of the outputs from the aSub record to write to the sequence record’s mask so that I could easily change which links in the
sequence record were processed based on the aSub inputs.
Unfortunately this aSub is outputing both "calculation" and "action". So I want to forward the "calculations" but inhibit the actions.
This all/none solutions does not work for me.
Using calcout as Kay said should work. Although I need to write hundreds of them after splitting a waveform to individual PV, It seems have some flexibility.
Lingyun
On Thu, Jan 14, 2016 at 11:21 AM, Andrew Johnson
<[email protected]> wrote:
On 01/13/2016 09:43 PM, Michael Davidsaver wrote:
>> Is there anyway skip updating any/some of the output PVs in the aSub
> routine ?
>
> Nope sorry. At least no directly.
Wrong; as John Priller pointed out (the Wiki documentation indirectly
explains this, but isn't terribly clear about it) returning a non-zero
value from the subroutine tells the record not to put the output links.
The aSub record sometimes does things a bit differently than the other
record types...
- Andrew
--
There are only two hard problems in distributed systems:
2. Exactly-once delivery
1. Guaranteed order of messages
2. Exactly-once delivery
-- Mathias Verraes
--
------------------
Lingyun YANG
Skype Name: lingyun_zjdt