Hello, all

I need to do the following with VEE and would like to have your advice.

for i=1, to 3 (measurement repeated for 3 times)

for j=1 to 21 (measurement conducted for 21 pts)

IMD(i,j)=Data_From_SpectrumAnalyzer

next j

next i

then, get the average for all the 63 data, sum(IMD(i,j))/63

get the 3 times average for each of the 21 pts, average(IMD(1,j),IMD(2,j),IMD(3,j).

Finally, calculate difference between the 63 data average and 3 time average for each point.

This is not difficult if using traditional VB or C codes. However, as for VEE, do you have any ideas on which might be the best efficient solution? Among Matlab script, excel and VEE matrix/database? My priority is the total data process time, less the better.

Your help would be highly appreciated!

BR,

Yiliu

Edited by: wangyiliu on Jun 20, 2013 7:25 PM

I need to do the following with VEE and would like to have your advice.

for i=1, to 3 (measurement repeated for 3 times)

for j=1 to 21 (measurement conducted for 21 pts)

IMD(i,j)=Data_From_SpectrumAnalyzer

next j

next i

then, get the average for all the 63 data, sum(IMD(i,j))/63

get the 3 times average for each of the 21 pts, average(IMD(1,j),IMD(2,j),IMD(3,j).

Finally, calculate difference between the 63 data average and 3 time average for each point.

This is not difficult if using traditional VB or C codes. However, as for VEE, do you have any ideas on which might be the best efficient solution? Among Matlab script, excel and VEE matrix/database? My priority is the total data process time, less the better.

Your help would be highly appreciated!

BR,

Yiliu

Edited by: wangyiliu on Jun 20, 2013 7:25 PM

Using

Data>Collector

and

Data>Variable>Set Variable

BR,

Yiliu