I8024_Currentout - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

2.6.3 I8024_CurrentOut

Description:
This function is used to initialize the I-8024module in the specified slot for
current output. Users must call this function once before trying to use the other
I-8024 functions for current output.
Syntax:
void I8024_CurrentOut(int
Parameter:
slot :
[Input] Specify the MP-8x43 system slot (Range: 1 to 7)
ch :
[Input] Output channel (Range: 0 to 3)
data :
[Input] Output data with engineering unit (Current Output: 0~20
mA)
Return Value:
None
Example:
int
slot=1, ch=0;
float
data=10.0f;
I8024_CurrentOut(slot, ch, data);
//Output the 10.0mA current from the channel 0 of I-8024 module.
Remark:
This function can be applied on module: i8024.
http://www.icpdas.com
++
[C
]
slot,
int
ch,
float
data)
MP-8x43 Function Reference V 1.0
56 

Advertisement

Table of Contents
loading

Table of Contents