LabVIEW Idea Exchange

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

Concatenating tunnel mode that allow string type

Status: Completed

Feature available in LabVIEW 2021 and later.

Darren_0-1750259615110.png

 

I finally found the time to download a trial version of LV2012. I find that the new 2012 features are really useful and interesting. Good job NI! Smiley Very Happy

One of the greatest for me is definitely the new "concatenating tunnel mode".

I've noticed that it cannot be activated with a variable of scalar type, and this obviously makes sense for almost every type of variables. However, strings are only formally scalar variable. I have lots of VI where the concatenate string vi has exactly the same use (on strings) that Build array has on numerics type of data, particularly when the concatenation had to be conditional. Obviously it is possible to convert the string into a U8 array before to connect the wire to the tunnel, and reconvert it into a string out of the loop, but this convertion probably can be internally managed without too much effort.

The attached snipped can show you what I mean. So, in my opinion, if tunnels could accept strings also when in Concatenating (conditional or not) mode would be great.

Cheers.

14 Comments
AristosQueue (NI)
NI Employee (retired)

Ajay: This feature is not in 2015, 16, or 17. It is unlikely to be in any future version. This is not a rejection of the idea -- yet -- but it really mixes syntax on the border of the For Loop, so it faces resistence.

 

BUT -- having said that -- there's a more general idea being tossed around for redefining tunnel accumulation behaviors using plugged-in subVIs. It has some similar concerns about mixing syntax, but we may have some ways to work around that.

 

Regardless, neither this idea nor the more general redefinition-of-tunnels idea are in active development for any upcoming release. Too many other competing priorities for attention.

ANunn
Member

This seems to have been added now. I am sure exactly when, but in my LV 2024 Q1 environment I can concatenate strings with a concatenate tunnel just fine!

When I saved for previous and opened the VI in 2020 the wires broke, so sometime between 2020 and 2024 Q1 this was added.

 

Thanks you LV R&D ❤️

crossrulz
Knight of NI

This subject came up in the Discord. I can verify this feature came out with LabVIEW 2021. I do not know if it was 2021 or 2021SP1.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Darren
Proven Zealot
Status changed to: Completed

Feature available in LabVIEW 2021 and later.

Darren_0-1750259615110.png