LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
WG-

Inline "Space constant.vi"

Status: Completed
Implemented in LabVIEW 2013

I just used the space constant VI from the string pallet. (I don't really now why I use this one sometimes because you can easily create it by yourself, mostlikely because of the icon Smiley Wink)

 

When I then checked the VI properties of "Space constant.vi" I noticed that the "Inline subVI into calling VIs" checkbox was not marked in the execution tab. I don't think it will do anyone harm to make this VI inline, can it? I also came to think of it that there are most likely other small VI's from National Instruments which maybe should have Inline marked, maybe NI should take a look threw the small VIs?

 

Maybe, maybe it is even an idea the LabVIEW check the contents of a string and if it sees that it is a constant space, line feed, etc it changes to its respectable constant icon. 

5 Comments
AristosQueue (NI)
NI Employee (retired)

We were letting the inlining feature go out for a couple releases before revisiting existing APIs and changing them. We'll add this VI to the list to review for LV 2012.

peos
Member

Why do you need a VI to get a space constant? 

Wouldn't it be better to set a space character (ascii 32) in a string constant?

Brad_K
Active Participant

It's easier to tell the "Empty String Constant" and "Space Constant" apart:

 

Spaces.png

 

I never realized "Space Constant" was a VI, though.

---
Brad Keryan
NI R&D
AristosQueue (NI)
NI Employee (retired)

> I never realized "Space Constant" was a VI, though.

 

Many of the constants in the palettes are VIs. Not all, but more than you might expect.

Darren
Proven Zealot
Status changed to: Completed
Implemented in LabVIEW 2013