
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-46
AI2K_ReadMinRaw
This function code is used to read the minimize raw data value for
a specific A/I channel.
C/C++
Arguments
Return Value
int AI2K_ReadMinRaw( int hConnection,
BYTE bytChannel,
int * iValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
iValue: A pointer to the minimize raw data value for
the desired channel.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
AI2K_ResetMin
This function code is used to reset the minimize value for a
specific A/I channel.
C/C++
Arguments
Return Value
int AI2K_ResetMin ( int hConnection,
BYTE bytChannel,
hConnection: The handle for an I/O server connection.
bytChannel: The desired channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
AI2K_ReadMaxs
This function code is used to read the maximize values for
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ReadMaxs ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
double dValue[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
dValue: An array that stores the maximize values for
contiguous A/I channels; dValue[0] represents
the value of the starting channel. The unit is
VDC for the voltage module, and mA for the
current module.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Comentarios a estos manuales