LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
CaseyM

Front Panel Terminal as Icon Should Respect User's Options Preference

Status: New

Currently if you create a new VI for override, whether or not the terminals are displayed as icons is determined by the VI being overridden (e.g. overriding Actor Core.vi will always give you terminals as icons). Instead, I propose that it be determined by the user's preference in the Tools--> Options menu. If we've said we don't want terminal icons, shouldn't all newly created VIs respect that?

CLA CLED AF Guild
2 Comments
BertMcMahan
Trusted Enthusiast

I definitely think this should be a default thing, so kudos to the idea, but I have a couple of workarounds for you.

 

I'm guessing that the "Override" functionality copies the parent's View As Icon settings. The simplest way to fix this particular gripe (that I share) is to edit the top-level Actor Core.vi and change those settings.

 

The more general workaround is to create a scripting VI that does this for you for ALL overrides. Lucky for us, the NI devs decided to create a file for just such an occasion. Look for "[LabVIEW]\resource\Framework\Providers\LVClassLibrary\NewAccessors\OverrideRetooler\Custom User Scripting For New Override VI.vi"

 

That is a file for user-created mods to the scripting that creates Override VI's. It's called after any new Override is made. I can't upload a VI to the Idea Exchange so here's a snippet:

 

Custom User Scripting For New Override VI_BD.png

 

That will ensure all Override VI's will NOT appear as icons. You could read your LabVIEW.ini file's "FancyFPTerms" ini key and set IconView? to T/F appropriately but I haven't used icons in decades so I'm just leaving it as-is.

 

Thanks for posting the Idea. I'd been bugged by this for a long time and your Idea was the impetus to finally change it.

 

(BTW: Here is a thread discussing more of the LVOOP templates etc: https://forums.ni.com/t5/LabVIEW/Modify-Dynamic-Dispatch-Template/td-p/3280730)

 

(Side note, thanks to RavensFan for the scripting code to change that setting!)

IlluminatedG
Active Participant

I'm going to add this to my IDE & Snippets package.

~ Helping pave the path to long-term living and thriving in space. ~