
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-68
RTD_ReadRaw
This function code is used to read the temperature value of a
specific channel in raw data format.
C/C++
Arguments
Return Value
int RTD_ReadRaw ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytChannel: The desired channel.
wValue: A pointer to the temperature value of the
desired channel. When wValue is 0x8000, it
means the sensor is not wired correctly, or the
measured value is out of range.
When using the RTD module for Resistance
Input 1~2000
, 100 m
/1count.
When using the RTD module for Resistance
Input 1~327
, 10 m
/1count.
When using the RTD module for Resistance
Input 1~620
, 20 m
/1count.
When the operating mode is temperature
sensor, 0.1°C(°F)/1count, depending on the
setting. Use the ioAdmin utility to check the
current settings for the desired channels.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
RTD2K_ResetMin
This function code is used to reset the RTD input minimize value
for a specific channel.
C/C++
Arguments
Return Value
int RTD2K_ResetMin ( int hConnection,
BYTE bytChannel);
hConnection: The handle for an I/O device connection.
bytChannel: The specific channel to be reset.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Kommentare zu diesen Handbüchern