09-13-2016 09:19 AM
Open the attached vi with LabVIEW 2014 x64 (ignore all the missing sub vis). Look at case "5 linear averaging count", notice that there is a string that contains, among other things "Data: Cleanup 1". Use find to search for the string "Data:". It will find nothing. Remove the case structure such that the contents of case "5 linear averaging count" is all that is left. Repeat the search. It will find the text.
09-13-2016 10:58 AM - edited 09-13-2016 11:05 AM
Offhand, I'd say that because all your case structure outputs have "Use default when unwired" checked, you somehow end up comparing an empty string and not finding anything. That's why removing all the case structures makes it work. Have you looked at what is coming out of the outermost case structure when it fails the compare?
edit:
Maybe I misunderstood what you were saying? The description was a bit confusing.
09-13-2016 02:48 PM
The Good News is that this also seems to fail (as you describe) in LabVIEW 2016 (32-bit). However, there are lots of broken wires, and lots of things Find just won't "find" (like the word "Cleanup". I'm guessing that having so many broken wires and errors on the Block Diagram is messing up the Find algorithm ...
Bob Schor
09-14-2016 12:21 AM
@Thomas_robertson wrote:Open the attached vi with LabVIEW 2014 x64 (ignore all the missing sub vis). Look at case "5 linear averaging count", notice that there is a string that contains, among other things "Data: Cleanup 1". Use find to search for the string "Data:". It will find nothing. Remove the case structure such that the contents of case "5 linear averaging count" is all that is left. Repeat the search. It will find the text.
It will be better if you can share the portion of the code (Problematic Portion) we are getting broken wires and missing vi, not able to locate the problem.
09-14-2016 01:27 AM
I'm obviously brain dead. I thought there was supposed to be a vi that did a search on the string, not the "Find" ctrl+F. What an idiot. Sorry about that.