LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 7.1 VI with match pattern fails in LV8

I am seeing something weird with LabVIEW 8.  Attached is a VI that was developed in 7.1 and has been working for the past year and a half.  When I upgraded to 8.0 it started exhibiting weird behavior.  The very first time it is executed it works fine.  All subsequent executions fail.  The problem is that the match pattern VI only matches the search string the first time it is executed, after that the offset past match is always -1.  Why?

If I start from scratch in LabVIEW 8 and recreate this VI it seems to work fine.

Joshua

0 Kudos
Message 1 of 3
(2,467 Views)
Hi Joshua,
 
It looks like the Request Deallocation function is causing this problem.  If you remove this function from the diagram (or change its input to False), the problem goes away.  I will report this problem immediately.
 
Thanks for bringing this to our attention,
-D
0 Kudos
Message 2 of 3
(2,462 Views)
Thanks for looking at this for me.  Now that you have pointed out that the Request Deallocation was causing the problem I need to correct what said in my original post.  If I recreate the VI from scratch in LabVIEW 8 there is still a problem.  The first time I recreated it I neglected to add the Request Deallocation.

Thanks again for your help.
Joshua

PS  This VI is simplier and duplicates the problem.

Message 3 of 3
(2,452 Views)