LabVIEW Idea Exchange

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

Automatically create terminal label with In/Out suffix

Status: New

If I have a Control labelled '%s In', I would like to be able to right click on it and select Create Indicator, resulting in a terminal label of '%s Out'. Likewise, if I have an Indicator labelled '% Out', I would like to select Create Control and automatically label it '%s In'.

 

idea1.png

 

Simple enough, but one of those tiny little tweaks that would save me a tiny fraction of effort every time I do it 🙂

---
CLA
1 Comment
thoult
Active Participant

Just to expand slightly, I would expect that the regex would include capitalisations of In and Out, would need localisation for different languages (I've never experienced non English LV), would need to search within strings and could apply some funky rules (i.e. Error In (No Error) could result in Error Out or Error Out (No Error)), and would need to be a switchable option for those who hate it 🙂

 

I think that sounds like the perfect fodder for one to develop one's own plugin, but thought it might be useful to others regardless!

---
CLA