LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Input data into table, then use the inputs for further processing

Problem,

 

I would like to carry out a sweep of measurements, that is dependent on the number of different frequencies that I put in.  The frequencies are variable and the number of different frequencies can vary from 1 to 20.  I am trying to approach this problem by using a table, where I input the different frequencies (say 700, 702, 704, 709, 710), then the number of inputs (5) is extracted that is then used to feed a “for loop”. Then for the first iteration, the "700" is used, for the second iteration, the "702" and so on until the 5th iteration.

 

Thanks.

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

Why use a table? Why not simply use a 1D numeric array? The table is a 2D string array and you would have to index out a column and then convert to numerics anyway. All you would have to do is wire the 1D numeric array to a for loop. It will auto-index the elements.

Message Edited by Dennis Knutson on 10-18-2007 11:51 AM

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