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

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

Advertisement

2.5.6 Get_AD_HValue

Description:
This function is used to obtain the voltage analog input value from the
analog input module in the HEX format according to the configuration in
function Set_8017H_Channel_Gain_Mode.
Syntax:
short
Get_AD_HValue(void)
Parameter:
None
Return Value:
Return (Hex): The voltage analog input value.
Example:
int
slot=1,ch=0,gain=4;
short
data;
Set_8017H_Channel_Gain_Mode(slot, ch, gain,0);
data=Get_AD_HValue(gain);
//The I-8017H card is plugged in slot 1 of MP-8x43, and the data value from channel 0 in I-8017H, and
the data range is: 0x0000 ~ 0x3fff.
Remark:
This function can be applied on module: i8017H, i8017HS.
http://www.icpdas.com
++
[C
]
MP-8x43 Function Reference V 1.0
50 

Advertisement

Table of Contents
loading

Table of Contents