GetAxisAvailableControlModes
Checks the control modes the axis can use.
Syntax
KsError GetAxisAvailableControlModes(
int Index,
int* Modes
);
Parameters
Index: the index of an axis. Indexes are zero based. Aliases affect this parameter.
Modes: pointer to the available McControlMode type.
Return value
If the function succeeds, it returns errNoError, otherwise an error code. For more information about the error code, see the KsError list.
Example
Copy
McControlMode AvailableModes = modeManual;
KsError nRet = GetAxisAvailableControlModes(0, (int*)&AvailableModes);
Requirements
| RT | Win32 | |
|---|---|---|
| Minimum supported version | 4.0 | 4.0 |
| Header | ksmotion.h | ksmotion.h |
| Library | KsApi_Rtss.lib | KsApi.lib |
See also