"template parameters" - Implement INPUTS and OUTPUTS
complete
S
Steve Perry
Getting data out of templates presently requires writing scripting......Either scripting inside the template to write values out to "template parameters" that the containing display can read, OR scripting within the containing display to read values out of template "internal properties". While these approaches work, they are cumbersome and not "user friendly".
To improve ease-of-use, implement a way of directly binding to template outputs from inside Ignition Designer.
Maybe breaking "template parameters" into 2 categories might facilitate this.
"Inputs to template" would be bindable only in the window containing the instances of the template, and the template would simply pull values from these parameters.
"Outputs from template" would be bindable only in the template itself, and the window containing the instances of the template would simply pull values from these outputs.
Log In
P
Paul Griffith
complete
Not implemented in Vision, but Perspective views have parameters that can be 'input', 'output', or 'bidirectional'.
P
Phil Turmel
I created a work-around for this problem that y'all might find useful:
m
mkarnick@primarysys.com
I couldn't agree more. The templates are otherwise perfect other than the fact that the internal properties cannot be accessed externally, nor can they be bound to the 'template properties'. The requirement of scripting kills my confidence in the template being robust. Don't get me wrong, Jython is great, but I prefer to not rely on a script to replicate the functionality of a binding.
Any word on this?