From: yenknip on
In LV 8.0 and later, true/false structures which are wired with a constant are optimised to not compile code which can never execute. Related to this is if you inport a pre 7.1 vi into 8.0 or later, then constants will be replaced with hidden controls, so as not to break code. As I understand, a disable diagram structure also gets ignored by the compiler.
 
Look up conditional disable (or enable!) structures in the example finder. or browse to \Labview x.x\examples\general\disable structures\conditional disable stucture.
 
As has been mentioned above, they can be used to tell the precomp to ignore frames, depending on what parameters have been defined. You can use this for differentiating between development code/production code. or compiling for different operating systems. The former is used as a demonstration in the LV Intermediate training sessions.
From: muks on
You are right dan_u and thanx yenknip for the explanation . Will go through the example and post again if i am stuck