LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data file close

Hello Kirit,

 

There were several reasons for this happening in your VI:

1) You did not have a shift register for the file path.

2) You write to a file both outside and inside the loop - this is not necessary.

3) You increment the iteration count too early.

 

I have modified your VI to account for these conditions. I would suggest looking at the shipping examples that come with LabVIEW to get an idea as to how such applications can be programmed. Also, if you are unsure of what exactly happens when you run the VI, click on 'Highlight Execution' (the bulb on the toolbar) - this will give you a better idea of the data flow in your VI. 

Vivek Nath
National Instruments
Applications Engineer

Machine Vision
0 Kudos
Message 11 of 11
(226 Views)