-
5. SysIOAPI.DLL (for Hardware related IO control API)
MR650 embeds several IO functions that may not be accessible through standard Windows API functions,
such as following,
- Four Relay output controls
- Four optical isolated inputs
- Image
- Finger print module
- Proximity
reader
- Other platform specific IO
Among these IO, image and finger print module will have individual section to explain detail function call. This
section will show how to access relays, optical input, and other specific IO functions. Relay output and optical
input can be accessed by two methods, through IO device control or DLL functions.
With IO control method, no external library necessary, applications use CreateFile() function to open IO
control device and use DeviceIoControl() function to access IO.
With DLL method, a DLL named SysIOAPI.DLL, is embedded in system and corresponding library and
include files are provided in SDK for linking with application.
Either method should work fine, but IO device method is more generic.
Those functions are,
IO device control method
BOOL IOC_GetRelayStatus(DWORD *)
BOOL IOC_SetRelay1(BOOL),
BOOL IOC_SetRelay2(BOO),
BOOL IOC_SetRelay3(BOOL),
BOOL IOC_SetRelay4(BOOL)
BOOL IOC_GetOpticalInput(DWORD *)
BOOL IOC_Module1PowerStatus(DWORD *)
BOOL IOC_PowerModule1(BOOL)
BOOL IOC_GetPCMCIA0Status(DWORD *)
BOOL IOC_EnablePCMCIA0(BOOL)
BOOL IOC_Camera_PowerOn()
BOOL IOC_Camera_PowerOff()
BOOL IOC_Camrea_Reset()
DLL method
DWORD GetRelayStatus(void)
BOOL SetRelay(DWORD, BOOL)
DWORD GetOpticalInputStatus(void)
BOOL SetModule1Power(BOOL);
UINT GetPCMCIASlotID(UINT)
void EnablePCMCIASlot1(UINT, BOOL);
BOOL CameraPowerOn(BOOL);
BOOL CameraReset(void);
Содержание 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 ...