04-11-2010 12:19 PM
hi all,
i wanna need some help here..
i'm using for loop to iterate to ceratin no of iteration.. then, i would like to use back the no of iteration as the input of 'N' for the next iteration..
in other word, eg:
1st run:
i insert a control to 'N', let say 80
then the iteration run until 80-1 = 79..
2nd run:
i need to insert the no of "N", let say a control of 120.. i want the loop run for "120 - 79", where the 79 is the no of previous run..
easy to say,
how can i connect the "i' as a control to ''N''
n how to make a "run' or ' GO' and ''stop'' button in the front panel and block diagram after the first run without using the stop and run from the labview window
thanks..
04-11-2010 12:37 PM - edited 04-11-2010 12:38 PM
04-11-2010 01:13 PM
sorry, but i'm very new to this software..
i'm not famiar with the array..
i'm using labview 8.2 student addition, i tried to create as your pic, but it apear the connection wire still give some error..
actually i use the for loop to run a stepper motor to a position. i can run the motor succesfully. so what i need is to insert the new position so that the motor can know the current position and calculate the step (iteration) needed to run into new position.. my problem is in using the no of iteration back in order to know the current position..
04-11-2010 04:29 PM