User | Kudos |
---|---|
6 | |
2 | |
2 | |
2 | |
1 |
An uninitialized feedback node will always start with the default value if its data type.Then you can select if the feedback node should initialize once on compile or load, or if it should initialize on every first call. The latter option is only available when you wire something to the initializer terminal though, else it's grayed out:
I suggest that the Initialize On First Call option should always be selectable. If you haven't wired anything to the initializer terminal, the initialization value should just be the default value of the feedback node's data type (as usual). You may argue that you can always just wire a constant to the initializer terminal, but if that constant doesn't differ from the default value, it shouldn't be necessary, and such constants might even take up considerable block diagram real estate (clusters, arrays, or refnums for instance).
Cheers,
Steen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.