03-03-2010 01:26 PM
Should LabVIEW give the broken arrow for errors within a disabled block?
I have a block disabled where way down in the call tree from a VI within that block there is a broken VI.
Nothing else calls this broken VI except the VI from the disabled block.
Why should I get the broken arrow if the top level caller is disabled?
03-03-2010 01:44 PM
Hi Believer,
which error message do you get if you press the broken arrow?
Normally the code in the diabled structure is not taken into account.
Mike
03-03-2010 01:53 PM
Are you sure the erro is not in the flip-side of the disable structure?
Can you post an image?
Ben
03-03-2010 03:30 PM
Thanks for the thoughts guys.
I have discovered that the errors in the disabled section appear in the error list box when there are other 'real' errors.
When there are no other errors, then the errors in the disabled section do not affect the run arrow.
Typically commented or disabled code is ignored by a compiler - and so I think it should be the case with LabVIEW too.
03-03-2010 03:38 PM
03-03-2010 04:01 PM
NIquist, in my case the errors in the disabled structure only show up in the error list if there are other legitimate errors elsewhere.
Are you saying that in 8.5 even if there are other legitimate errors the ones in the disabled structure are not reported?
03-03-2010 04:10 PM