GetGroupParameter

Gets the value of a vendor-specific parameter from an axis group. The returned value has to be converted to double if necessary. If not possible, the vendor has to supply a vendor-specific function to read the parameter. The parameters are defined in McAxisParameter.

Syntax

KsError GetGroupParameter(
     int Index,
     McGroupParameter ParameterNumber,
     double* Value
);

Parameters

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

ParameterNumber [in]: a parameter in the McGroupParameter type.

Value [out]: reads the value of the parameter you picked in the McGroupParameter 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

N/A

Requirements

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

See also

SetGroupParameter