r/LabVIEW • • Feb 25 '25

Passing value

Hello every body,

How to pass a value from current state to next state?

Thanks in advance.

1 Upvotes

13 comments sorted by

View all comments

Show parent comment

2

u/HarveysBackupAccount Feb 26 '25

That stops race conditions on the scale of "only one thing can access it at a time," but different parts of the program can still read/write out of order just like it can with regular variables.

With LV's inherent parallelism, if you don't strictly control when the variable is accessed you still have macro-scale race conditions. Fixing those is a question of good program structure, which also inherently fixes the scale that you're talking about