02-24-2009 08:50 AM
Hi,
I'm having problem on storing data in array. My problem is that each time it loops, the array just keep overwrite instead save to the next index. Like at 0 the value is 123, and 1 is 234. But i having that all data capture all overwrite at 0 till the last data it still show at 0. How do i correct this problem?
Solved! Go to Solution.
02-24-2009 08:54 AM
02-24-2009 08:55 AM
Could you please post your current approach?
Norbert
02-24-2009 09:20 AM
02-24-2009 09:56 AM
02-25-2009 02:51 AM
02-25-2009 03:34 AM - edited 02-25-2009 03:41 AM
02-25-2009 03:36 AM
02-25-2009 03:44 AM
Hi ander99,
to get an element from an array you can use the "index array" function. Another solution would be to connect your array to a for loop.
Mike
02-25-2009 10:12 AM
How to use array to do comparison? Like Array 1 go thru array 2 to get data Loss out and build an array. Like Array 1 ,1000,1024,1048,etc before 1520 fall in between Array 2 range 1000-1500. So Freq 1000,1024,1048 etc will get Loss value as 1 and 1520 fall in between 1500-2000 will output Loss 2. and so on till the end of the list. How should do this? Need help on this.
Array 1 Array 2
Freq Freq Loss
1000 1000 1
1024 1500 2
1048 2000 3
1100 :
1200 :
: 18000
:
:
1520
:
:
18000