Why Does LabVIEW Occasionally Crash When Duplicating Nested Structures That Contain Attached Comments?
Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 2013
Primary Software Fixed Version: N/A
Secondary Software: N/A
I have a nested structure in my VI that contains a comment pointing to a block diagram object. Whenever I duplicate this structure, the comment in the duplicated structure is no longer connected to the object it was pointing to before, as seen in the image below:
Furthermore, when I save and close the VI, LabVIEW occasionally crashes. Why is this happening and what can be done about it?
This is a known bug discovered in LabVIEW 2013 and LabVIEW 2014 that has been fixed in LabVIEW 2015. The bug causes labels or attached comments that are pointing to specific objects to become disconnected when the nested structure they are within is duplicated. This causes the label to have an arrow pointing to no object, which has the potential to crash LabVIEW whenever the VI is recompiled.
To prevent the disconnected comment from causing LabVIEW to crash, simply reconnect the floating arrow of the comment to the object it is intended to point to. This will remove the open reference and prevent the crash from occurring.
White Paper: LabVIEW 2014 Known Issues
Report Date: 08/19/2014
Last Updated: 08/11/2015
Document ID: 6OIH69UB