ControConnection Variable - Setting Default Value
I an using the function designer and I have a variable that is of a type ControlConnection. I need to set the initial value to 12 but I get an error
Error: Initial-Value not correct, please change 'InitVal' Aspect Property!
So how do I set an initial value on a controlconnection variable?
The InitVal properties are in the "Control Properties" aspect of the control module which contains your control connection variable.
You can set the value in this aspect. This value will be applied after you "init" start the application. A cold or warm start will not apply the value.
Depending on how your code is written, it is usually better to initialise the Out.Forward.Value in the Start_ block of your control module.