LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
SteenSchmidt

Initialize feedback node on first call should always be selectable

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

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:

 

NoFirstCall.png   WithFirstCall.png

 

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

CLA, CTA, CLED & LabVIEW Champion
1 Comment
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.