
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-45
AI2K_ReadMinRaws
This function code is used to read the minimize raw data values of
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ReadMinRaws ( 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 minimize raw data
values of the contiguous A/I channels;
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
AI2K_ResetMins
This function code is used to reset the minimize values of
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ResetMins ( 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
oRe
u
nCodes.
AI2K_ReadMin
This function code is used to read the minimize value for a
specific A/I channel.
C/C++
Arguments
Return Value
int AI2K_ReadMin ( int hConnection,
BYTE bytChannel,
double * dValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dValue: A pointer to the minimize 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.
Kommentare zu diesen Handbüchern