LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Externally accessing loop iteration before completion

Hi all, I'm fairly new to LabVIEW so please bear with me. In my VI, I would like to increment an array index every second. The array is contained within a continuously running while loop. I need the other elements within my continuous loop to run continuously. I've tried to implement several different methods of achieving this and haven't had any luck, although it seems like a simple thing to do. 

 

Currently, I've set up a second parallel while loop with a timer, and have tried to direct the index of this loop to my array in the other loop, but this turned out to be quite challenging.

 

Can someone point me in the direction of how to properly and simply implement this? I've attached my current (non-functioning) VI. 

0 Kudos
Message 1 of 2
(2,306 Views)

So, let me see if I understand what you are trying to do.

 

You want to read the data from the file and use the data in the file to change the frequency of the signals generated from time to time. But you want the signals to continue generating at the previous frequencies until a new frequency is sent.  Is that correct?

 

This modification of your VI will do something like that.  I did not have a data file so I did not test this.

 

Lynn

0 Kudos
Message 2 of 2
(2,292 Views)