From: Kasemir, K. <kas...@or...> - 2014-03-26 12:44:27
|
Hi: The key difference between versions 3.1.x and 3.2.x is the PVManager. See http://htmlpreview.github.io/?https://github.com/ControlSystemStudio/cs-studio/blob/master/applications/plugins/org.csstudio.opibuilder/html/ChangeLog.html#3.2.9 Before, you were able to use constants like this: 1 "fred" Now you need to use PVManager formulas like this: =1 ="fred" Existing *.opi files are somewhat automatically translated, but that's not done if the constant is based on macros: $(macro) could be anything: PV name, numeric constant, string constant. So you'll have to update your *.opi that uses macros to use the new syntax for constants. Thanks, Kay On Mar 26, 2014, at 8:12 AM, Eric Berryman <eri...@gm...<mailto:eri...@gm...>> wrote: Hello! This might be easier using pvmanager formulas. =pv(VString) or: loc://<VString>pvName("test") =pv(loc://pvName) Thank you! Eric On Wed, Mar 26, 2014 at 7:19 AM, Jörn Wüstenfeld <j.w...@hz...<mailto:j.w...@hz...>> wrote: Hello! I have a problem passing a constant value or the content of a macro defined in CSS as a Paramteret to a Javascript attached to a widget in BOY. If I do this, the widget is always in the state 'disconnected'. Even if the script does not touch the parameters at all. Im currently using CSS version 3.2.15 from SNS. In version 3.1.4 it was possible to use a macro as an parameter to a script. What I want to do is to construct the name of an output PV dynamicaly based on the input parameters. Is this posible? With kind regards Joern Wuestenfeld ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Cs-studio-users mailing list Cs-...@li...<mailto:Cs-...@li...> https://lists.sourceforge.net/lists/listinfo/cs-studio-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ Cs-studio-users mailing list Cs-...@li... https://lists.sourceforge.net/lists/listinfo/cs-studio-users |