Hi Mad,
I have tried the vi that you had given me, but it was still not i required exactly.
For(i=0, i++, i<200)
{
temp = buffer1[i]/count;
while (temp>360)
{
temp = temp - 360
}
buffer2[i] = temp;
}
i want the count be buffer[1]/360
1. i need to check the 200 data in the 1D array named buffer1, hence i want the for loop to run 200 times
2. the data can be in few hundreds or even thousands, but i want to keep them within 360 as i'm calculating the degree, hence i want the while loop to do the checking.
the vi that you had given me, can only execute the subtraction once but not until the data value is within 360. hence i ask how to do the following while loop again.
while(temp>360)
{
temp =
temp - 360;
}
sorry for the confusion, thks again
lyn