Experimental Physics and
| |||||||||||||||||
|
Hi Maurizio,
this seems a much better approach.
I have a stringin record with INP field getting PV from CA link, but it is missing IVOA/IVOV fields (available in stringout).
I can switch to stringout but how can I retrieve my PV value via CA link?
Thanks again,
Luca
On Mon, 2017-06-05 at 12:20 +0200, Maurizio Montis wrote:
Dear Luca, the IVOA/IVOV mechanism should be the correct way to solve your problem, no need of external modules. * IVOA (Invalid Output Action) selects what to do in case the record gets INVALID. * IVOV (Invalid Output Value) is a CONSTANT holding the value that should be used when the record is INVALID. The connection going down should always put the record in LINK INVALID. I had a similar situation and Ralph Lange pointed me to this solution (thanks a lot Ralph!). Cheers, - Maurizio On Jun 05, 2017 11:52 AM, Luca Cavalli <[email protected]> wrote:Dear all, I have a string input record which value is retrieved via CA link. When remote PV is not available (e.g. missing IOC) I would like to set "EMPTY" as string input value. My idea is to use scalcout record from synApps with CA link connected to INAA and IAAV connected to INPA, defining the output by checking INPA value and selecting INAA (Ext PV OK) or "EMPTY" constant (Ext PN NC). Before adding scalcout record to my IOC I would like to know if this is a good approach. Is there a simpler solution? Thanks, Luca~~ Maurizio Montis - Control System Engineer ~~ office: +39 0498068558 mobile: +39 3408428089 mail: [email protected] skype: maurizio_montis Istituto Nazionale di Fisica Nucleare - Laboratori Nazionali di Legnaro V.le dell'Universita', 2 35020 LEGNARO (PD) - ITALY
| ||||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |