image thumbnail
from ActiveX control of APT Thorlabs positioning stages by David Krause
Use the ActiveX controls to control the APT Thorlabs positioners

SetMotor(h, SN, ParamSet)
function SetMotor(h, SN, ParamSet)
% David Krause
% Queen's University
% October 18, 2006
% Set up the motor controls

% Start the control
h.StartCtrl;

% Set the serial number
set(h, 'HWSerialNum', SN); pause(0.1);

% Identify the device
h.Identify;

% Load the parameters
h.LoadParamSet(ParamSet); pause(0.1);

Contact us at files@mathworks.com