LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lowercase to Uppercase and Uppercase to Lowercase

Thank you everyone for your help. I got more than I thought. Smiley Happy

0 Kudos
Message 31 of 38
(1,329 Views)

So for 'always best performance' i take it we'll add an Array size on the U8 connected to a case with 1 parallell option and one normal, or will it be as fast if you use a parallell loop with N=1?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 32 of 38
(1,306 Views)

@Yamaeda wrote:

So for 'always best performance' i take it we'll add an Array size on the U8 connected to a case with 1 parallell option and one normal, or will it be as fast if you use a parallell loop with N=1?

/Y


It probably won't be that easy to find a globally optimized solution that has the correct crossover point under all conditions. CPU architecture (cache sizes, number of cores, etc.) probably makes a difference. I would go with a plain loop because strings are typically short and that extra decision might even slow things down. 😄

0 Kudos
Message 33 of 38
(1,289 Views)

Just thought I would give it a try.

 

0 Kudos
Message 34 of 38
(1,242 Views)

You don't need the AND and the second Select function. If its input is TRUE, it means neither the To Uppercase nor the To Lowercase changed anything, which implies the bottom element is the same as the top element. It also means you don't need the lower Equal? check.

0 Kudos
Message 35 of 38
(1,236 Views)

Yep, you are right.  Nice job!

0 Kudos
Message 36 of 38
(1,233 Views)

Hello! Could you tell me what the name of the function is? Where can I find it?

0 Kudos
Message 37 of 38
(1,114 Views)

swap values

("Application control...memory control" palette)

0 Kudos
Message 38 of 38
(1,106 Views)