LabVIEW Idea Exchange

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

Collapse Lengthy String Constants to an Icon (like LV 2010 Clusters)

Status: Completed
Available in LabVIEW 2012

Large string constants, like to one shown below, can really get in the way. I would like to double-click the border and have it collapse, like the LV 2010 Cluster now does. Putting large string constants in a VI, or rolling them up, are some work-arounds, but this would be easier...

 

Collapse Text.jpg

 

                                 Double-Click the "text" icon to reverse.

Richard






23 Comments
Minty
Member

Broken Arrow > That's what I do on occasion, but when I want to read or edit the large string, I have to drag it over to some other area where there's enough room to expand it, read or edit it, then roll it back up *just so*, and by then the scroll bar is useless because I'm only seeing part of one line. Wouldn't a double-click be easier?? Especially if it hovers over existing frames when expanded.

 

You have reminded me of an important point: that you should be able to title the icon (or glyph as you call it). In my example above, I'd call the icon "Guardband Reminder".

>

Granted.

 

But I guess my coding style (generally) doesn't include huge static strings. Dialogues, error messages etc are all file based (so they can easily be translated). Therefore static strings usually boil down to either a text check (on/off for a driver returned string etc.) or a  keyword lookup for the real text.

tom.huo
Member

I think it will be better that the test dialog pop up after I double click the 'Text'. 

InfiniteNothing
Active Participant

I use the build text express VI for this purpose. No inputs required Smiley Tongue

CLED (2016)
G-Money
NI Employee (retired)
Status changed to: In Development
 
WG-
Member
Member

Now that this idea is in development (which in fact, in the basics, is the same as mine) http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Need-edit-window-for-large-string-constants/idi-p/1220... will it get a edit window? So that when you double click on the string icon it does not open in the block diagram (messing it up) but rather opens in a window? Otherwise this feature is in my homible opinion totally useless.

 

G-Money
NI Employee (retired)
Status changed to: In Beta
 
G-Money
NI Employee (retired)
Status changed to: Completed
Available in LabVIEW 2012
FabiolaDelaCueva
Active Participant

I am trying this on LabVIEW 2012 and I don't get the string to look as an icon. How was this implemented?

 

Thanks,

Fab

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
Darin.K
Trusted Enthusiast

The Edit Window has been through beta and implemented in 2012, that is different than this idea.  Unless they say that with the edit window you are free to shrink the string constant as small as you would like.  Still no icon view. 

 

Agreed, this one should either be declined or new, but not completed.  And while they are at it, WouterG's idea should be marked as completed.

PalleM
Member

Still not implemented in LV13

 

Where is my "string-constant-collapse-to-icon" dbl click feature? Smiley Sad