Advantech ADAM-5511 Manual page 212

Table of Contents

Advertisement

Get5013
Syntax:
void Get5013(int Board, int Channel, void *pValue)
Description:
Reads the data value in an ADAM-5013 module.
Parameter
Board
Channel
*pValue
Note:
The *pValue for ADAM-5013 must be interpreted in
reference to the input range that was set during
module configuration.
Return Value:
None.
Example:
void main()
{
int *value, j;
//One ADAM-5013 module on slot 0 of the ADAM-5511
printf("Get ADAM-5013 Value....\n");
for (j=0;j<3;j++)
{
Description
0 - 3 for Slot0 ...Slot3
0 - 2 for ADAM-5013
The value returned

Advertisement

Table of Contents
loading

Table of Contents