10-28-2008 04:21 AM
I have an intermittent error 1077 on changing the disabled value of a series of boolean property nodes in my program. I'm passing an array of references into a For loop, all of the controls are in this VI and it can be classed for these purposes as a top level VI.
Most of the time my code runs fine, however, debugging my code this morning after no recent changes to this area of code I'm getting errors that are causing me problems. Any Ideas as to how to get passed this or what the cause is please?
Picture of part of the failing code attached.
(The For loop on the right is normally shirft registered, but is not currently in order to aid debugging.)
Solved! Go to Solution.
10-28-2008 05:55 AM
Finally found the problem.
Because my array of numerics was so small in width, I was only seeing one digit because I was only expecting the width to be one digit.
In one of the Event structures, I was writing the digit 030 instead of 0 to the disable property node resulting in the above error.
I have learnt from this error and made my arrays slightly wider. (This is a similar problem to when you forget to look for the extra possible line in a string control.)