LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autoincrementing test iterations.

I work with a semiconductor company, and I have to test IC's on a bench setup. I am trying to add an autoincrement function for the number of units tested. (Some are samples, and I need to keep track of quantities). I am also adding a "retest" button that allows me to circumvent the autoincrement in case of a failed unit.
0 Kudos
Message 1 of 4
(2,920 Views)

I'm not sure if I understand your question completely, but I will answer what I think your question is.

 

Each test needs to run N number of times, while increasing by 10 (for example).

 

  

Inside a 'for' loop, put your code for your test.

Wire N to the number of iterations.

 

Then say you wanted each iteration to increase by 10 units,

you would multiply the current iteration by 10 and use that output for the current interval.

Then the next iteration would make the interval be 10 more and so forth.

 

Was that your question? 

Cory K
0 Kudos
Message 2 of 4
(2,898 Views)

Like this..... 

for loop

Message Edited by Cory K on 10-09-2008 12:57 PM
Cory K
0 Kudos
Message 3 of 4
(2,895 Views)

Not quite. I actually figured it out. What the goal was is test a unit, and have the program keep track of how many has been tested. If the part fails, the count stays the same. if it passes, the count increments by one. It ended up working with 2 property nodes of the unit number indicator. One read, one write, with a case in between. true is connected straight through, whilst false has an increment in the middle. The T/F property node from the test result supplies the case selection. Like this:

0 Kudos
Message 4 of 4
(2,878 Views)