LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local timing

What I did was to disable the control for right clicks and any clicks except on column 0, since I need the user to type in information there. I also used the value property node. It now works without the conflict.

0 Kudos
Message 21 of 22
(415 Views)

@altenbach wrote:

tbob, are you sure this is guaranteed to work? Since the wire branches to the local variable write and to the sequence frame, the local update at (A) can occur in parallel to the local read (B) and you potentially have a race condition. I probably wouldn't trust this. (This is LabVIEW 2010, so the locals look a little nicer ;))

 

 

Ooops.  That's what I get for doing things too fast.  It worked when I ran it so I didn't think anything more.  It is a miracle it ran successfully.  But that definitely is a race condition.

 

Normally I would not code in this manner, I would use a wire.  But I was trying to show local variable update timing so I came up with this.  One more frame before would have done the trick.

 


 

- tbob

Inventor of the WORM Global
0 Kudos
Message 22 of 22
(400 Views)