kb:bestpractices:codingconventions:helperloops
12 Helper Loops
You can find a whole article about Helper Loops at:
https://www.hampel-soft.com/blog/dqmh-actors-self-messaging-or-helper-loops/
When coding a repetitive operation, use a helper loop that is registered to the Stop Module
event and does the repetitive operation inside its' timeout case.
There's a discussion thread on the NI Forums:
https://forums.ni.com/t5/Delacor-Toolkits-Discussions/Helper-loops-for-active-repetitive-tasks/td-p/3752169
Style
-
Helper loops need to have their enclosing while loop coloured
-
All Request VIs communicating exclusively with/to the helper loop need to have a ribbon in the same / similar color on their icon
-
If Request VIs are only to be used inside the module, set their scope to
private
, move them to a “Private API” virtual subfolder and add the little key glyph to their icon
kb/bestpractices/codingconventions/helperloops.txt · Last modified: 2024/08/09 07:50 by joerg.hampel