LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
d.w.b

Bookmark Bug in References to Controls & Indicators

Status: New

DO NOT treat references to controls and indicators as bookmarks because bookmarks cannot be used in control or indicator labels! http://zone.ni.com/reference/en-XX/help/371361N-01/lvhowto/manage_tasks_lv/ says "You cannot use bookmarks in control or indicator labels." However, LabVIEW DOES treat a hashtag (#) in the label of references corresponding to controls and indicators as bookmarks. The problem is that the reference to a control or indicator supports bookmarks but should not. Service Request #7710815 said according to R&D, “this does appear to be an intended function”; In other words, they expect for a hashtag bookmark to be created from the label of a reference to a control or indicator whose labels themselves cannot be bookmarks! Who expects the label of a reference to support a bookmark when what it refers to is an object that does not support bookmarks especially when their text values must be identical? I certainly do not. It seems to be an oversight by NI developers. Is an NI customer going to want to put a hashtag in a control or indicator knowing that bookmarks are not supported there but actually want it references to be bookmarks? Certainly not.

 

Steps to Reproduce:

1. Create new VI, create control, set label to “#1”, open block diagram, create reference; the label is a bold bookmark.

2. In LabVIEW 2012 or earlier, create new VI, create control, set label to “#1”, and create a reference on the block diagram. Open the VI in LabVIEW 2013 or later. The reference’s label shows bold “#” instead of plain text “#1”; note that it is cut off despite “size to text”. Our label names have been customer visible for over seven years; renaming them is unsatisfactory. See hashref.jpg.