Advantech ADAM-5511 Manual page 218

Table of Contents

Advertisement

Get5080
Syntax:
void Get5080(int slotno, int channel, long *pValue)
Description:
Get Value from specific channel in ADAM-5080
Parameter
slotno
channel
*pValue
Return Value:
The Value from the specific channel
Example:
void main ()
{
unsigned long int aiv[4];
int i;
for(i=0;i<4;i++)
//get each value from ADAM-5080 in slot 0
Get5080(0, i, & (aiv[i]));
}
Description
The specific slot inserted with
ADAM-5080
0-3 or slot0-slot3
The specific channel in ADAM-5080
0-3
The Value returned

Advertisement

Table of Contents
loading

Table of Contents