![]() ![]() Functional global variables are VIs that use loops with uninitialized shift registers to hold global data. It started earlier this week when I found an NI-internal document that’s used for code reviews, which said… Functional Global VariablesĪ way to avoid race conditions associated with local and global variables is to use functional global variables. The same thing seems to have happened with some information on race conditions and functional global variables in LabVIEW, so I want to try to clear it up. Invariably, the message gets corrupted along the way, and the statement at the end has lost all of its original meaning. ![]() Do you know the party game, “telephone”? It’s where a group gets in a circle, and someone whispers a statement to the person next to them, who in turn whispers it to the person next to them, until the message gets all the way around the circle.
0 Comments
Leave a Reply. |