
IRU151-I Programmer Guidel
12
Function Description
2.6 ReadAIDataEx
Description
Read AI data from SDK
Definition
void
ReadAIDataEx(
int
size,
char
*data,
int
*length
);
Parameters
size
[in]: The buffer size.
*data
[out]: The AI data.
(For example: Setting AI channel are 0, 1, 2, the input
data will put buffer by order. The data of channel 0 is
stored in data[0] and and data[1], the data of channe 1
is stroed in data[2] and and data[3] , the data of
channel 2 is stored in data[4] and and data[5] and so
on.
* length
[out]: The length of AI data.
Return value
NULL
Example
int
ret = 0;
int
I = 0;
char
buffer[1024 * 32] = “”;
int
length = 0;
ret = ReadAIDataEx(1024*32, buffer, &length);
(Continue)
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...