
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-62
AO2K_GetPowerOnRaws
This function code is used to get the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaws ( 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 power on values of the
contiguous A/O channels in raw data format.
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
AO2K_SetPowerOnRaws
This function code is used to set the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnRaws ( 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 set.
wValue: An array that stores the power on values of
contiguous A/O channels in raw data format.
wValue [0] represents the value of the starting
channel.
Succeed MXIO_OK.
AO2K_GetPowerOnRaw
This function code is used to get the power on value of a specific
analog output channel in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaw ( int hConnection,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wValue: A pointer to the power on value for the desired
channel in raw data format.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Comentarios a estos manuales