06-21-2012 07:14 AM
Does this sound familiar to anyone?
It took quite a while to find out that LabVIEW crashes everytime the VI (red arrow) is called.
It is weird that the VI is called formerly and everything works fine.
Anyway, the workaround is just not using this VI, nevertheless this bug should be fixed.
In my opinion LabVIEW 11.0 crashes much more often than older versions...
Solved! Go to Solution.
06-21-2012 07:19 AM - edited 06-21-2012 07:23 AM
Please attach the code as vi or as snippet. Just a screenshot without LV functionality is not suitable in tracking down issues like this....
Norbert
EDIT: Trying a sole "Match True/False String" function in the block diagram does not crash LV on my machine....
06-21-2012 07:29 AM
You are right. I forgot.
Sorry
Ben
06-21-2012 07:33 AM - edited 06-21-2012 07:34 AM
Neither it crashes on mine if I run it solely or just the first of the two Match True/False String in the attached VI.
We could not reproduce this bug on older Versions of LV either.
But it happens on my machine here always.
Ben
06-21-2012 07:45 AM
Not a bug. Now it is a know issue!
06-21-2012 07:49 AM
Ben,
Your code crashes LV 2011 on my machine as well.
I don't know whats going on here, but i notified one thing i wanted to pass on to you:
Put a diagram disable structure around the Match True/False String function and set it to enable (so no disabled case).
On my machine, the code does not crash LV 2011 after making this change.
hope this helps as workaround for now,
Norbert
06-21-2012 08:03 AM
It also crashes my LV 2011 on my virtual machine. I also noticed that if you delete the wire going to that specific string function's "string" input from the source and replace it with a constant then it doesn't crash. Furthermore, if I connected the input directly to the front panel control it did not crash. As soon as I connected the "string" input to any of the output strings from any of the other string functions it would crash. So, it appears to be a compilation issue. I tried to force a recompile of the VI and that didn't make a difference
06-21-2012 08:27 AM
I broke it down a little to the least number of functions needed. CAR #360838.
Workaround as already stated: Put a structure around the last Match True/False String running parallel to String Length. It could be Diagram Disable, Case, Single Sequence Frame.
hope this helps,
Norbert
06-21-2012 08:31 AM - edited 06-21-2012 08:32 AM
Thank you guys for your effort.
As I have said already: no bug/issue if this exotic VI is not used. But the diagram "enable" workaround is a good trick nonetheless.
Hopefully NI will fix it in the future to avoid that others will lose several hours trying to find out why LV crashes out of a sudden.
Ben
06-21-2012 08:32 AM
@BMajor7 wrote:
Thank you guys for your effort.
As I have said already: no bug/issue if this exotic VI is not used.
[...]
Ben
Uh, well, you CAN use it in your VI.... but obviously, you need a weird workaround 😉