
IRU151-I Programmer Guidel
Function Description
23
2.15 GetAIinitConfEx
Description
Get AI initial setting from flash memory.
Definition
int GetAIinitConfEx (
int
configSize,
AI_CONIFG
*config,
Int
*length
);
Parameters
configSize
[in]: The buffer size of AI configuration.
*config
[out]: The AI configuration buffer.
*length
[out]: The length of AI configuration.
Return value
AXIO_OK if success, or other value represents the error. (See Error Code)
Example
int i = 0;
int ret = 0;
AI_CONFIG config[4];
int length = 0;
ret = GetAIinitConfEx(4, config, &length);
if(ret == AXIO_OK)
{
for(i = 0; i < length; i++)
{
printf("AI%d\n", i);
printf("Enabled: %d\n", config[i].enabled);
printf("Input range: %d\n", config[i].inputRange);
(Continue)
Содержание IRU151-I
Страница 1: ...IRU151 I Software Development Kit Reference Manual...
Страница 2: ...ii Revision History Version Revised Date Author Description 1 0 2018 12 05 Hank 1st release...
Страница 6: ...vi This page is intentionally left blank...
Страница 10: ...IRU151 I Programmer Guidel 4 Introduction if stop 2 break Close_Device...
Страница 11: ...IRU151 I Programmer Guidel Introduction 5 1 3 The Calibration Flow Chart...
Страница 12: ...IRU151 I Programmer Guidel 6 Introduction This page is intentionally left blank...