LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible LabVIEW Bug with Decimate Array

Solved!
Go to solution

The attached VI reads a group of bytes as U8's from one file and writes every other one to a new file.  It does this by using the decimate array function.  It looks like there is a bug in LabVIEW.  If the '+ 0' is removed from the code nothing but 0's are written to the file.  If you probe the array that will be written to the file it shows non-zero values but the resulting file is still all zeros.  Adding the '+ 0' was a work-around to the issue.

 

I'm running LabVIEW version 8.5.

Systems Engineering - National Instruments
0 Kudos
Message 1 of 2
(2,868 Views)
Solution
Accepted by topic author AndyBrown

This looks suspiciosly similar to the LabVIEW 8.5 bug we discussed quite a while ago.

 

Try to place an "always copy" primitive (from the "application control...memory control" palette) before the file write and see if things improve. Good luck!

0 Kudos
Message 2 of 2
(2,846 Views)