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>)
SetCaptureParams(4,1,95,1920,1080,1,1000)
2. Type the following to check if there are any new updates/changes to the
image since the last time interval:
GetCaptureStatus(<SID>,1)
GetCaptureStatus(4,1)
3. Type the following to get the buffer size of the image captured:
GetCaptureBufferSize(<SID>,1)
GetCaptureBufferSize(4,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)
GetCaptureDat(4,1,00,2073600,dw,dh)
Function Example
Function Example
Function Example
Function Example
Chapter 3. API Functions
Returned Value
0 = success
Returned Value
1 = new updates/changes
0 = no updates/changes
Returned Value
> 0 = the buffer size
0 = pending
Returned Value
> 0 = success
51