Aten RCMDVI40BT [67/297] Remote monitoring

Aten RCMDVI40BT [67/297] Remote monitoring
Chapter 3. API Functions
51
Remote Monitoring
The following sequence of functions are used for capturing the image of the
RCM device for remote monitoring:
1. Type the following to set the parameters for capturing images from the
RCM device, including its quality, width, height, and time interval:
SetCaptureParams(<SID>,1,<image quality, 20-95>,<image
width, in pixels>,<image height, in pixels>,1,<interval,
0-1000 ms>)
2. Type the following to check if there are any new updates/changes to the
image since the last time interval:
GetCaptureStatus(<SID>,1)
3. Type the following to get the buffer size of the image captured:
GetCaptureBufferSize(<SID>,1)
4. Type the following to get the data of the image captured:
GetCaptureDat(<SID>,1,<pointer to a buffer of
image>,<buffer size>,dw,dh)
Function Example Returned Value
SetCaptureParams(4,1,95,1920,1080,1,1000) 0 = success
Function Example Returned Value
GetCaptureStatus(4,1)
1 = new updates/changes
0 = no updates/changes
Function Example Returned Value
GetCaptureBufferSize(4,1)
> 0 = the buffer size
0 = pending
Function Example Returned Value
GetCaptureDat(4,1,00,2073600,dw,dh) > 0 = success

Содержание

Скачать