View Single Post
  #13   Spotlight this post!  
Unread 20-01-2009, 16:20
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: How do i find a variable and use it on Labview

That "example" that I published? FULL OF RACE CONDITIONS (intentionally). Good luck trying to figure out the order of precedence in that. I was simply trying to show that it's possible.

The OS/program will only store 1 "real" copy of the variable in a single memory location. Every function can simultaneously read/write to the single memory location from "anyplace". But as BLAQmx points out, be careful when you have multiple writes that are happening simultaneously.

You'll never know which "write" "wins". That's why I use sequences to force program flow where necessary. Being a very single-threaded engineer, I use a LOT of stacked sequences.

Russ
Reply With Quote