
IRU151-I Programmer Guidel
Function Description
21
if(ret == AXIO_OK){
for(i=0;i<length;i++)
{
printf("Input range: %d\n", factors[i].inputRange);
printf("Offset: %d\n", factors[i].offset);
printf("Gain: %lf\n", factors[i].gain);
printf("\n");
}
printf(
“\n”);
} else
printf(
“Read calibration factor failure\n”);
2.14 GetAISingleValueEx
Description
Get the AI single voltage with the selected channels and input range.
Definition
int GetAISingleValue (
int
size,
double
*data,
int
*length
);
Parameters
size
[in]: The buffer size.
*data
[out]: The voltage data.
*length
[out]: The length of voltage data.
Return value
AXIO_OK if success, or other value represents the error. (See Error Code)
Example
double
data[16]
int
length = 0;
int
ret = 0, I = 0;
Summary of Contents for IRU151-I
Page 1: ...IRU151 I Software Development Kit Reference Manual...
Page 2: ...ii Revision History Version Revised Date Author Description 1 0 2018 12 05 Hank 1st release...
Page 6: ...vi This page is intentionally left blank...
Page 10: ...IRU151 I Programmer Guidel 4 Introduction if stop 2 break Close_Device...
Page 11: ...IRU151 I Programmer Guidel Introduction 5 1 3 The Calibration Flow Chart...
Page 12: ...IRU151 I Programmer Guidel 6 Introduction This page is intentionally left blank...