I am using what is essentially the Example VI from the 'User Guide to LabVIEW & APT' Manual to control a ThorLabs Nano Rotator with a ThorLabs APT Precision motor controller. The ActiveX MG17Motor interface works well. However, I need to be able to integrate elements of the motor control within a larger program. To do this I am attempting to use some to the MG17Motor methods to specify the motor position.
I will need the ability to 'Home/Zero' the rotator as well as move it to a particular position. At present I have been attempting to use the MoveAbsoluteRot method; it works do a degree. It a large move is specified then the motor will overshoot the desired position, and do a whole nother rotation before slowing as it approaches the desired angle, overshooting again, etc. The ActiveX control, in contrast, will reverse the rotation direction and and achieve the desired position quickly.
I'm in need of two things, (1) help in programming a sequence to get the rotator in the desired position, and (2) a source for help files on the MG17 methods. Without information on what each of the inputs and outputs are for for the various methods I'm having to guess and work through trial and error, and there are a lot of methods. So if any one can tell me where to find some documentation that would be good.
I've attached copies of the VIs I am using. Help appreciated.