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