Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StopImmediate Missing #20

Closed
cal-miller-harvard opened this issue Jul 26, 2018 · 1 comment
Closed

StopImmediate Missing #20

cal-miller-harvard opened this issue Jul 26, 2018 · 1 comment

Comments

@cal-miller-harvard
Copy link

It would be desirable to access the StopImmediate function, in addition to StopProfiled. See excerpt from Thorlabs documentation below:

Motor Method StopImmediate

See Also Example Code

Visual Basic Syntax

Function StopImmediate(lChanID As Long) As Long

Parameters

lChanID - the channel identifier

Returns

MG Return Code

Details

This method is called to stop motor moves on the channel specified by the lChanID parameter, which in turn takes values specified by the HWCHANNEL enumeration.

Moves are stopped abruptly in a non-profiled manner, (i.e. the parameter fAccn, set using the SetVelParams method, is ignored) and there is a risk that steps, and therefore positional integrity, could be lost.

This method can be called to stop prematurely, absolute or relative moves and, more importantly, is called to stop MoveAtVelocity moves.

@tobiasgehring
Copy link
Contributor

Unfortunately StopImmediate only exists in the ActiveX, not in apt.dll. This wrapper is based on the latter so this cannot be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants