Well, if you look at your VI, you'll see that ... oh, you didn't post a VI? Just a sec, I misplaced my telepathy helmet ... While I look for it, help the rest of us by replying and attaching your VI. Do not attach a picture of the Block Diagram, attach the actual VI (so we can, among other things, try running the code to see what it does).
Bob Schor