Hello LabVIEW Users,
Thank you for reporting this issue. Prior to 10/13/2004, National Instruments was not aware of this issue, and we apologize for any inconvenience it has caused.
We have since investigated this issue, and I would like to pass along more details about it. This issue occurs when a wire is connected to a For Loop, through the For Loop's diagram, and out the other side of the For Loop, with indexing disabled. Within the For Loop, the wire is branched to one of several operations such as Add, Subtract or Increment. When the original wire comes from a constant or a computed constant and all other wired inputs to the function are also constants or computed constants, the output of the function inside the For Loop can produce a wrong result.
The wrong result will either be the constant value itself, or the result which would be produced by the default value for that type, depending upon the operation.
While we feel that this issue should affect relatively few real-world applications, we are presently working on a longer-term solution for this, and will post more information here when it is available.
Jeff Boettcher
Product Support Engineer
National Instruments - LabVIEW R&D