09-14-2005 04:46 PM - edited 09-14-2005 04:46 PM
Hello guys,
I am again struck at a point and this time with my stepper motor. My stepper motors (UTM series) and controller (ESP 300) were bought from Newport Co. I am using that to scan the sample in YZ directions (Y being horizontal and Z being vertical). The path is ziz-zag like in diagram which has been attached.
I am attaching three main codes:
Motion_Update_Final.vià This code only moves single motor based on the axis number that you choose and also display the updated position of motor after time interval specified by “Delay (ms)”. I am totally satisfied with this code.
Experimental_Path.viàThis is frequently used in other codes where either motors and photodiode or motors and CCD codes are integrated. Based on Y_Initial, Y_Final, Z_Initial, Z_Final, Y_StepSize, Z_StepSize, this program will creates a zigzag path and store Y and Z coordinates of path in separate subarrays Y_Array and Z_Array. I am also happy with this one.
ONLY_MOTION_Y_Only.vi: This basically separates each elements of Y and Z arrays one at a time and moves only Y-motor (does not do anything with Z-motor). This is just a test code. If I am using this code, then display (both on this code as well as on controller diaplay) fails to update. The motor may not be moving though I hear the sound.
Please let me know where I am going wrong.
Thanks,
DK
Message Edited by Dushyant on 09-14-2005 04:47 PM
09-15-2005 03:12 PM
09-15-2005 03:38 PM - edited 09-15-2005 03:38 PM
Message Edited by Dushyant on 09-15-2005 03:41 PM
09-15-2005 05:02 PM
Hi Chris,
I believed that I figured out the problem. It was same "integer" and "real" issue. So, please do not spend your valuable time trying to sort out the problem.
I am still cheking my code. I would let you know if there is still some problem.
Thanks for help and sorry that my stupidity caused loss of your valuable time,
Dushyant
09-16-2005 10:13 AM