![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Version and Error Information Functions. More...
![]() |
Functions | |
I32_T FNTYPE | NMC_GetLibVersion (_opt_null_ I32_T *PRetMajor, _opt_null_ I32_T *PRetMinor, _opt_null_ I32_T *PRetStage, _opt_null_ I32_T *PRetBuild) |
Return the version number of the Library: Major.Minor.Stage.Build. More... | |
void FNTYPE | NMC_GetLibVersionString (char *PRetVersionString, U32_T StringSize) |
Return the version number of the Library in the format of a C string: Major.Minor.Stage.Build. More... | |
const char *FNTYPE | NMC_GetErrorDescription (RTN_ERR ErrorCode, _opt_null_ char *PRetErrorDesc, U32_T StringSize) |
Return the error code description in the format of a C string. More... | |
Version and Error Information Functions.
const char* FNTYPE NMC_GetErrorDescription | ( | RTN_ERR | ErrorCode, |
_opt_null_ char * | PRetErrorDesc, | ||
U32_T | StringSize | ||
) |
Return the error code description in the format of a C string.
ErrorCode | The error code to be inquired |
PRetErrorDesc | A char array which is 512 characters at least |
StringSize | The size of input char array |
Usage:
Examples:
Reference:
I32_T FNTYPE NMC_GetLibVersion | ( | _opt_null_ I32_T * | PRetMajor, |
_opt_null_ I32_T * | PRetMinor, | ||
_opt_null_ I32_T * | PRetStage, | ||
_opt_null_ I32_T * | PRetBuild | ||
) |
Return the version number of the Library: Major.Minor.Stage.Build.
[out] | PRetMajor | [Input] A pointer variable, [Output] The major version number. Input NULL(0) can ignore the parameter. |
[out] | PRetMinor | [Input] A pointer variable, [Output] The minor version number. Input NULL(0) can ignore the parameter. |
[out] | PRetStage | [Input] A pointer variable, [Output] The stage of version number. Input NULL(0) can ignore the parameter. The return value 1 to 4 indicate the trial versions, and the 5 indicates the official release version. |
[out] | PRetBuild | [Input] A pointer variable, [Output] The build of version number. Input NULL(0) can ignore the parameter. |
Examples:
Return the version number of the Library in the format of a C string: Major.Minor.Stage.Build.
PRetVersionString | A C string which is 32 characters at least |
StringSize | The size of the input C String |
Usage:
Examples:
Reference: