LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler Error

I'm playing with Match Pattern to filter some specific data of one large string. Wiring the whole string decrease the performance agressively, so i've decided to process small subset's of data at time. But the fixed string set, sometimes, give me a useless part of the string and the match pattern give me a empty match (Expected behavior here, cause there's few strings to collect).  After this, i've decided filter the array elements (for loop output) using the empty string/path comparison, but....

 

screenshot_657.png

 

 

LabVIEW 2013 SP1.

 

PS: Yes, i've tried the always copy function, but no sucess 😞  http://www.ni.com/white-paper/8145/en/   (Search for compiler error)

PS: I know there's different solutions for my problem.

PS: Yes, bad english Smiley Very Happy

 

VI and Data attached.

 

 

0 Kudos
Message 1 of 6
(3,163 Views)

Can be easily reproduced - it seems that some of the string functions, combined with conditional auto-indexing tunnel in parallel for loop creates this error. See attachment, call for someone from R&D to fix it (somewhere around LabVIEW 2027 😉 )

0 Kudos
Message 2 of 6
(3,130 Views)

I really hope this get fixed soon Smiley Sad

0 Kudos
Message 3 of 6
(3,099 Views)

Confirmed for me as well.

 

Easiest fix is to get rid of the parallel loop configuraiton.

 

You can get rid of the conditional tunnel.  But in order to make that work, you'll need to do something else with your array (shift register and build the array as you go will force you to get rid of the parallel For Loop) or clean up your array after it is built unconditionally.

0 Kudos
Message 4 of 6
(3,079 Views)

This issue was reported as CAR #404512.  For now, it appears that the workaround described for Known Issue #67753 also resolves this problem- placing an Always Copy primitive on the output of the match pattern function allows the VI to compile and run correctly.

 

Regards,

Tom L.
0 Kudos
Message 5 of 6
(3,048 Views)

CAR 404512 discussed in this thread was fixed in  LabVIEW 2014.  For a more complete list of bugs fixed in LabVIEW 2014, check the LabVIEW 2014 Bug Fixes. You can download an evaluation copy of LabVIEW 2014 at www.ni.com/trylabview/ or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.

 

Regards,

 

Jeff Peacock 

 

Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect 

 

0 Kudos
Message 6 of 6
(2,910 Views)