LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why this vi is not working?

I need to select out the strings that do not contain the character "." in a string array. The attached string should work but didn't. Would someone point out why? Thanks.
0 Kudos
Message 1 of 11
(3,593 Views)
try this one

P.M.
Putnam
Certified LabVIEW Developer

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


LabVIEW Champion



0 Kudos
Message 2 of 11
(3,589 Views)
Thanks PM, but I am using LabView 6.1, could you post your vi in that version? Thanks.
0 Kudos
Message 3 of 11
(3,585 Views)
Unfortunately, no as I only have 7.1 installed, so the best I can do is 7.0. I will do that in the hopes that someone will kindly do the conversion from there to 6.1
Putnam
Certified LabVIEW Developer

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


LabVIEW Champion



0 Kudos
Message 4 of 11
(3,584 Views)
Thanks PM. I shall be able to look at LV7.0 in another computer system later.
0 Kudos
Message 5 of 11
(3,577 Views)
It's late, lost work finding out that someone plugged in my computer to the wrong outlet on the UPS (Doh!) Here, the change is trivial, in fact I left your original in just not connected.


P.M.

big forehead slap!!!
Putnam
Certified LabVIEW Developer

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


LabVIEW Champion



Message 6 of 11
(3,568 Views)
"." has a special meaning in a regular expression. Use "\." instead to cancel the special meaning
(Simply ad a backslash before your period). Try it! 🙂

Check the online help for details on regular expressions. (right-click on "Match Pattern"...help").

Message Edited by altenbach on 06-08-2005 03:02 PM

Message 7 of 11
(3,574 Views)
here it is in 6.1



Joe.
"NOTHING IS EVER EASY"
Message 8 of 11
(3,553 Views)
Thank you all for the quick help. Both vi works great!
0 Kudos
Message 9 of 11
(3,542 Views)
Here's a slighly cleaned up version (LabVIEW 6.1). Notice that you can eliminate a lot of unecessary fluff.

  • Wire the offset output directly to the case structure.
  • Use built array instead of "Insert into array", it is much cleaner.
  • etc.
  • Message 10 of 11
    (3,542 Views)