Race Condition between Propery Node and Locals (LabVIEW 6.1)

Friday, December 26, 2003

Do you know, that in LabVIEW 6.1 Propery Nodes and Locals cannot be used together (or must be used carefully)? Below you can find simple example with illustration. Following block diagram contains four steps:

First step: Writing TRUE to Property Node

Second step: Writing FALSE to Local Variable

Third step: writing TRUE to Property Node again

Fourth step: Reading from Terminal. Which value expected here? Always TRUE, because TRUE was written at previous step, but we have FALSE now! It happened only if Property Node was used together with Local. In LabVIEW 6.0.2 behavior is correct. In LabVIEW 7.0 correct too. Only 6.1 contains this trouble. You can download example with this code here.