LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

For loop don't updates

Solved!
Go to solution

Hi,

 

First I'm new at labview ,

 

I'm trying to read 8 checkboxs vals and for each checkbox I'm queuing a single val witch will be a test.

 

I have a problem with my for loop it simply won't update and staying at 0 val ( only one iteration ) 

 

vi is attached , can any one give me some help ?

 

 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 4
(2,245 Views)

I cant look at the code right now, dont have LV currently, but it sounds like you're either not looping at all, or not doing what you should inside the loop (but outside).

Could you post a .jpg/png? (usually we ask for the vi's instad 😄 )

/Y 

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(2,243 Views)
Solution
Accepted by topic author Kobi_K

Hi, 

 

From looking at your cases it seems that you'll only get into the main 'True' case when your iteration equals 1. So for all other iterations it will be stuck in the false case where nothing is processed.

 

I would recommend having a look at some of the student tutorials available here: http://www.ni.com/academic/students/learnlabview/execstructures.htm


Windows 7. LabVIEW 2011.
0 Kudos
Message 3 of 4
(2,241 Views)

Thank you both ! As I thought  it's a stupid mistake 🙂

 

 

-----------------------------------------
Kobi Kalif
Software Engineer

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