06-22-2011 01:55 AM - edited 06-22-2011 01:56 AM
Hello,
Im using the 'match pattern' function in labview.
But when I use the example below it does not work, when changing the '.' to '=' at both entrance it works.
Why cant I use a '.' ?
gr,
Solved! Go to Solution.
06-22-2011 02:00 AM - edited 06-22-2011 02:04 AM
Hi,
Use a back slash and dot '\.' for seaching for the string '.' This will solve your problem
Regards,
Nitzz
(Give Kudos to good Answers and Mark it as a Solutoin if your problem is Solved;))
06-22-2011 02:16 AM
You should read the help.
'.' is a special character which means it matches to every character.
So you can use 'te.t' to match with 'test' as well as 'text'
Christian
06-22-2011 02:16 AM
06-22-2011 02:21 AM
Hi all,
But isn't it expalined in the theories that to match a special char, we can use a Backslash befor that??? It works fine though the usage of Dot can be reduced.
Regards,
Nitzz
(Give Kudos to good Answers and Mark it as a Solutoin if your problem is Solved)
06-22-2011 02:57 AM
I have to excuse myself for missing it in the help.
I have read it but did not clicked on the link so I could see what the specials where.
'/.' was/is the solution so thanks!
gr,
06-22-2011 03:05 AM
Nitzz, for sure you are right. We just added the explanation why it is as it is.
Christian
03-22-2014 01:02 PM
Hello sir
i saw the VI u post for the matching pattern.
i have a problem with my vi.
i am doing sorting of object using QR code.
meaning there is will specific QR code which should match so that it can be sorted.
i have to connect it with my prototype using usb . i am using arduino uno to control my motor
but now in my vi i already did the process of decoding QR code
but now i dont know how to differentiate in between them. what should i do
any1 can help please
in the VI, to be able to decode QR code
i use vision acquisition- vision asistant - qr code found- data
03-22-2014 01:30 PM - edited 03-22-2014 01:30 PM
Your message has nothing to do with the Match Pattern function talked about in this message thread.
You need to start a new message thread with your question.
"any1" is not a word. Please don't use "textspeak" in your messages.
03-22-2014 01:30 PM