Showing results for 
Search instead for 
Did you mean: 

Micro-Nuggets !!! ~~~~ Post 'em if you got 'em

here is the example using strings


Message 51 of 361

But you should be very careful when doing this with strings, because it has specific behaviors which may be unexpected such as being case sensitive.

Try to take over the world!
Message 52 of 361

Also, don't get bit by the range not being inclusive when dealing with strings.

0 Kudos
Message 53 of 361

Thanks for the warning guys...  🙂

I should have mentionned those with the examples...


I have not used this with strings...  Just wanted to include them from an interest point of view..  🙂

Message 54 of 361

[edit] Hmm beat me to it.  I should have flipped the page firstSmiley Very Happy it would have saved me some wiring

"Should be" isn't "Is" -Jay
0 Kudos
Message 55 of 361


You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 56 of 361

Yes, we do have to be careful with the string ranges in cases, they behave like "In Range and Coerce", except there is no graphical representation showing that "a..c" doesn't include the "c", the way that the "IR&C" shows you. It is also counter intuitive that numeric ranges of a case statement, i.e. 2..5, include all the values from 2 to 5 inclusive, sort of like rules of spelling in English, "i" before "e", except after "c" or on alternate Tuesdays in months that have an even number of days.

Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion

0 Kudos
Message 57 of 361

Hi all. Smiley Happy

I have made a VI that gets a list of the ClassNames and ClassID's of Block Diagram items... i.e. for you Scripters out there.


I have placed and labeled dozens of items on the block diagram. The generated list is shown on the front panel. If you want to know the ClassName for an item not shown, just put it down and hit run.


Preview below .. VI attached. 2010. You'll need Scripting turned. I've used OpenG for a few array operations, but it's not a big deal.


[EDIT: Deleted image and VI by request, see new post, message 61]


0 Kudos
Message 58 of 361

Can you elaborate on your diagram comment for the need of two FOR loops. Since your are indexing over the same array, shouldn't the iterations always match?

0 Kudos
Message 59 of 361

When I first found my destiny-changing floppy disks containing LV 5.0 I bought a copy of "LabVIEW for Everyone". Forced myself to read it page to page, cover to cover. Did every exercise. I normally don't do that. Glad I did.


LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 60 of 361