LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loop through arrays sequentially

Hi!

 

My goal is to send update parameter commands on the serial bus att different rates depending on which "priority" a certain parameter has.

 

As input my idea was to use two text files, one containing a list of "high speed" = often updated parameters, and another with "low speed" = not so often updated parameters.

 

I start with storing the parameter numbers in two arrays, a high speed array and a low speed array.

 

My goal is to loop through the parameters in the high speed array and for each loop fetch one parameter name (number) from the low speed list and send that also. And so on.... continously.

 

The serial-com part is OK it is just the variable fetching process that is a problem. The output from this vi should be a integer value updated at a specified frequency.

 

 

Kind regards // Gustaf 

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

Hi Gustaf,

i tried to create an example for you, please see the attachment.

 

Hope it helps.

Mike

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