Moxa MPC-122X-K [47/47] Mxecdis_rgb_read_tables function

Moxa MPC-122X-K [47/47] Mxecdis_rgb_read_tables function
MPC-122-K Hardware ECDIS Library and API Development
C-3
MAX_COLOR_TOKEN indicates the maximum number of colors in one color table. This parameter is defined
according to IHO-S52 Specifications.
<DATE_TIME> Specifies the calibration time of this computer
<RGB_TB_DAY> Specifies the DAY color table; (RGB_TB_DAY[n][0], RGB_TB_DAY[n][1], RGB_TB_DAY[n][2])
indicates the color of R, G, and B.
<RGB_TB_DUSK> Specifies the DUSK color table
<RGB_TB_NIGHT> Specifies the NIGHT color table
<RGB_BKL> Specifies the backlight values; RGB_BKL[0] is for DAY, RGB_BKL[1] is for DUSK, and RGB_BKL[2]
is for NIGHT.
ECDIS RGB Functions
mxecdis_rgb_read_tables function
This function reads the color tables from the MPC-122-K-ECDIS.
int mxecdis_rgb_read_tables(PECDIS_RGB rgb_data);
Inputs
rgb_data Specifies the pointer of the RGB data structure.
Return Value
Returns 0, if successful;
Returns -1 in case of error
mxecdis_rgb_last_error function
This function returns the last error code for read RGB error.
unsigned long mxecdis_rgb_last_error();
Inputs
None.
Return Value
Returns the last error of the read RGB operation

Содержание

Похожие устройства

Скачать