01-11-2006 11:53 AM
01-11-2006 12:02 PM
Hi Stephen,
You need to use a shift register for the array. In the first half of the iterations, don't add anything to your array. But once the iteration count passes your threshold, start building the iterations into the array. I have attached a VI to this e-mail. Notice also that I've included the logic for switching out cases directly in the case structure with the "..4" and "5.." cases.
You should check out the LabVIEW Help on shift registers...they're a little hard to understand when you first start using LabVIEW, but they are an indispensable feature when dealing with loops. While you're at it, check out the LabVIEW Help on Case Structures to learn about other neat things like the "..4" and "5.." notation.
-D
01-11-2006 12:03 PM
01-11-2006 12:06 PM
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
01-11-2006 12:14 PM