To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Horse Race Conditions is the exciting game of which loop will come in first!
Place your bets and watch as your four parallel loops battle it out in an all-out race to the local variable.
Description
This demonstrates the dangers of using local variables and provides a visual aid to understanding how a race condition produces unpredictable behavior.
Requirements
Software:
LabVIEW 2014(or compatible)
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.