05-17-2011 11:11 AM - edited 05-17-2011 11:12 AM
here is the example using strings
05-17-2011 11:25 AM
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.
05-17-2011 11:27 AM
Also, don't get bit by the range not being inclusive when dealing with strings.
05-17-2011 11:34 AM
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.. 🙂
05-17-2011 11:38 AM - edited 05-17-2011 11:40 AM
[edit] Hmm beat me to it. I should have flipped the page first it would have saved me some wiring
05-17-2011 03:07 PM - edited 05-17-2011 03:07 PM
05-24-2011 07:49 AM - edited 05-24-2011 07:55 AM
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.
07-06-2011 10:39 AM - last edited on 07-11-2011 09:26 AM by Laura F.
Hi all.
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]
07-06-2011 10:53 AM
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?
07-06-2011 11:21 AM
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.