Advantech ADAM-5511 Manual page 210

Table of Contents

Advertisement

Get5017H
Syntax:
void Get5017H(int Board, int Channel, void *pValue)
Description:
Reads the data value in ADAM-5017H module.
Parameter
Board
Channel
*pValue
Return value:
None.
Example:
void main()
{
int *value, j;
//One ADAM-5017H module on slot 3 of the ADAM-5511
printf("Get ADAM5017H....\n");
for (j=0;j<8;j++)
{
//Get ADAM-5017H data from channel 0 to 7 on slot 3 of ADAM-5511
Get5017H(3,j,value);
}
}
Description
0 - 3 for Slot0 ...Slot3
0 - 7 for ADAM-5017
The value returned

Advertisement

Table of Contents
loading

Table of Contents