10-18-2007 12:46 PM
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.
10-18-2007 12:50 PM - edited 10-18-2007 12:50 PM
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