VI Analyzer Enthusiasts Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Proposal - Support <b></b> tags in failure descriptions in LabVIEW 2017

When I want to call out something specific in a VI Analyzer failure message, I typically use quotes:

1.png

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:

2.png

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:

3.png

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.

Message 1 of 6
(4,742 Views)

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.

0 Kudos
Message 2 of 6
(4,219 Views)

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.

0 Kudos
Message 3 of 6
(4,219 Views)

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.

0 Kudos
Message 4 of 6
(4,219 Views)

From the number of replies received over the last one year, looks like not many of us use the VI Analyzer at all !!  Smiley Very HappySmiley Very Happy

 

Have you implemented this in LV 2017?! Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 5 of 6
(3,795 Views)

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).

0 Kudos
Message 6 of 6
(3,789 Views)