Returns the double channel resistance.
Gx1164GetDoubleChannelResistance (nHandle, nChannel, pdwValue, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1164 board. |
nChannel |
SHORT |
Channel number: 1-8. |
pdwValue |
PDOUBLE |
Returned resistance value. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Use the Gx1164GetDoubleChannelResistance to retrieve the actual channel resistance value.
The following example sets the channel resistance and verifies its actual value:
Gx1164SetSingleChannelResistance(nHandle, 1, 131.0, nStatus);
Gx1164GetSingleChannelResistance(nHandle, 1, &dValue, nStatus);
if (131-dValue>3)
printf(“Resistance is not accurate”);