06-22-2016 04:49 PM
When I want to call out something specific in a VI Analyzer failure message, I typically use quotes:
I'm considering adding a new feature in LabVIEW 2017 where, if text is surrounded with <b></b> tags, the text will be bolded in the Results Window:
In this case, the description string that was sent as part of the test failure was:
"The cluster labeled <b>Boolean Input</b> is not autosized. Consider enabling autosizing on this cluster so none of its elements can be hidden."
In addition to making the failure message look more clear in the VI Analyzer Results Window, the use of the <b> tags will also bold the text in an exported HTML report:
However, I think the <b> tags would be distracting in the "ASCII (tab-delimited)" export file, so I was planning on stripping them out when exporting to ASCII.
Summary
1. If <b></b> tags (or <B></B> tags) are present in the failure description, text between those tags will be bolded in the VI Analyzer Results Window 'Description' field.
2. Those tags will be persisted in exported HTML reports, so that the text is bolded in the HTML.
3. Those tags will be stripped in exported ASCII reports.
4. No other tags <i>, <u>, etc. will be supported.
Let me know what y'all think of this idea. I'd like to implement it in LabVIEW 2017.
06-23-2016 12:57 AM
So you should change the bookmark-manager too. Now only the first word is set as bookmark. With your proposal of <b></b> tags you could mark more than one word as bookmark and it would be consistent over the framework.
06-23-2016 10:52 AM
Ludwig, the change I'm proposing has nothing to do with bookmarks. It is only to provide formatting in the VI Analyzer Results Window and exported VI Analyzer Results HTML files.
The LabVIEW editor will bold any word preceded with a "#" character as part of the bookmarks feature.
If you're interested in bolding arbitrary text as you type in the LabVIEW editor, you can add QuickBold=True to your LabVIEW INI file. This will allow you to use the Ctrl-B keyboard shortcut to bold text like you can in other text editing environments.
06-24-2016 12:37 AM
I'm sorry, I placed my proposal at the wrong place. I thought you mean searchable tags like bookmarks.
Of course I know the bookmarks and the quickbold features well. I had hoped that bookmarks not remain restricted to one word after the # character.
06-28-2017 03:25 AM
From the number of replies received over the last one year, looks like not many of us use the VI Analyzer at all !!
Have you implemented this in LV 2017?!
06-28-2017 12:28 PM
This proposal was not implemented in LabVIEW 2017. I will add it to my list of proposed improvements to make in LabVIEW 2018. Thanks for commenting and bringing the idea to my attention (again).