04-10-2007 02:35 PM
04-10-2007 03:39 PM
04-10-2007 03:50 PM
04-10-2007 08:57 PM - edited 04-10-2007 08:57 PM
Message Edited by Ravens Fan on 04-10-2007 09:59 PM
04-11-2007 12:25 AM
04-11-2007 08:39 AM
04-11-2007 09:52 AM
04-11-2007 12:58 PM
04-12-2007 03:57 AM
thanks Ravens!
I have still further question regarding that vi. Seemingly, index will control the adding proceess, like into which element of the array new input gets as u said. Lets assume that I m sweeping the current between +- 3 with 1 amp increment lets say N times that i dont set before measurement.
so i ll get following for each iteration of my main loop that controls the data acqyisation.
i (iteration) Current value corresponding multimeter value(y) array of x array of y
0 0 y0 [0] [y0]
1 1 y1 [1,0] [y1,y0]
2 2 y2 [2,1,0] [y2,y1,y0]
: : : : :
12(new sweep) 0 y12 [0,-1,-2...0...2..0] [y12,y11.....y0]
13 1 y13 [1,0,-1,2..0...2..0] [y13,y12,y11...y0]
: : : : :
now what i dont understand is that how to command vi so that it will add y13 with y0 ,y14 with y1 and so on giving averaged array with each corresponding element. My iteration keeps going continously till I see that averaged spectrum seems ok. So i can not set at the beginning how many iteartion will be performed. Besides, I might change the sweeping rate and the limits are not fixed that might be changed for each measurement. Regarding those conditions how i can set the index number performing the average process above? Please help me:)
04-12-2007 04:15 AM