10-13-2008 12:30 PM
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.
Solved! Go to Solution.
10-13-2008 04:03 PM
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!