-
5.7. Camera Control
5.7.1. Power on/off Camera
Function Description:
Power on/off Camera.
Function call:
BOOL IOC_Camera_PowerOn();
BOOL IOC_Camera_PowerOff();
Return code:
TRUE = Success
FALSE = Unsupported
5.7.2. Camera Reset
Function Description:
Reset Camera.
Function call:
BOOL IOC_Camera_Reset();
Return code:
TRUE = Success
FALSE = Unsupported
Example:
#include “ioc_ioctl.h”
HANDLE gIOControlDriverHandle;
…
gIOControlDriverHandle = CreateFile(L”IOC1:”, GENERIC_READ |
GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL, OPEN_EXISTING, 0, 0);
If (gIOControlDriverHandle == INVALID_HANDLE_VALUE)
{
// IO device not found, function not supported,
// error process
}
…
…
IOC_Camera_PowerOn();
IOC_Camera_Reset();
…
IOC_Camera_PowerOff();
…
CloseHandle(gIOControlDriverHandle);
…
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...