SetKinTransform

Sets a kinematic transformation between the ACS and MCS based on the predefined kinematic model.

Syntax

KsCommandStatus SetKinTransform(
     int Index,
     McKinRef KinTransform,
     McExecutionMode ExecutionMode
);

Parameters

Index [in]: the index of an axis group. Indexes are zero based. Aliases affect this parameter. You can have up to 32 groups.

KinTransform [in]: the index of a kinematic model. Vendor-specific data type. See the McKinRef structure.

ExecutionMode [in]: describes when the command is executed and the new transformation becomes valid. See the McExecutionMode type.

Remarks

Return value

Returns the KsCommandStatus structure.

Example

N/A

Requirements

  RT Win32
Minimum supported version 4.1 4.1
Header ksmotion.h ksmotion.h
Library KsApi_Rtss.lib KsApi.lib

See also

GetKinTransform