LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 11.0 crashes when using Match True/False String

Solved!
Go to solution

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...

 

 

 

ReadResponse.jpg

Message 1 of 12
(3,869 Views)

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....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 12
(3,867 Views)

You are right. I forgot.

 

Sorry

 

Ben

0 Kudos
Message 3 of 12
(3,861 Views)

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

0 Kudos
Message 4 of 12
(3,858 Views)

Not a bug. Now it is a know issue!Smiley Very Happy

0 Kudos
Message 5 of 12
(3,847 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 12
(3,843 Views)

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

0 Kudos
Message 7 of 12
(3,833 Views)
Solution
Accepted by topic author BMajor7

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 8 of 12
(3,822 Views)

Thank you guys for your effort.

As I have said already: no bug/issue if this exotic VI is not used. Smiley Wink 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

0 Kudos
Message 9 of 12
(3,820 Views)

@BMajor7 wrote:

Thank you guys for your effort.

As I have said already: no bug/issue if this exotic VI is not used. Smiley Wink

[...]

 

Ben



Uh, well, you CAN use it in your VI.... but obviously, you need a weird workaround 😉

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 10 of 12
(3,814 Views)