You are on page 1of 45

Function to change the table

Version Date Changes


Rev 2.43 2008.10 FKAttend.OCX added a "2.1.3 ConnectUSB", "2.2.18
BenumbAllManage
r "function.
FKAttend.DLL added a "3.1.3 FK_ConnectUSB", "3.2.18 FK_BenumbAll
Manager "function.
Management data ("2.3.3 GetSuperLogData") and out of the record data ("2.3.7
GetGe
neralLogData ") added a record project.
Rev 2.44 2008.11 fingerprints can be registered per user, the number of expansion
from three to ten. ("2.2.1 GetEnrollData")
Door status in the new state value added DOOR_CONTROLRESET. (See "2.7.1
GetDoorSta
tus ")
Rev 2.45 2008.12 updated setup: Add Wavedown section.
Rev 2.46 2009.01 updated setup: Adding in the Wavedown Settings button rings.
Setup information added to the language settings (in Japanese).
Update FKAttendOCX and FKAttendDLL
In FKAttendOCX read and set through USB to add the names of data variables
Reference USBGetOneEnrollData, 2.2.9
USBGetOneEnrollDataWithString, 2.2.10
USBSetOneEnrollData, 2.2.11
USBSetOneEnrollDataWithString. 2.2.12
In FKAttendDLL through USB to add data to read and set the name variable.
Reference FK_USBGetOneEnrollData, 3.2.9
FK_USBGetOneEnrollDataWithString, 3.2.10
FK_USBSetOneEnrollData, 3.2.11
FK_USBSetOneEnrollDataWithString.3.2.12
Read and set in FKAttendOCX hardware information to add matching mode.
(See GetDeviceInfo, SetDeviceInfo. 2.5.7, 2.5.8)
Read and set in FKAttendDLL hardware information to add matching mode.
(See FK_GetDeviceInfo, FK_SetDeviceInfo. 3.5.7, 3.5.8)
Rev2.47 2009.02 upgrade installation software: an increase in the installation
information in the lock mode and multi-user mode.
In FKAttend OCX, FKAttend DLL generated by adding the name of the IP address of
the connecting hardware function
Number
(See ConnectGetIP,, FK_ConnectGetIP, 2.1.5, 3.1.5)
Increasing access / set the time machine function, which in some parameters have
changed.
(See GetDeviceTime_1, SetDeviceTime_1 2.5.11, 2.5.12)
(See FK_GetDeviceTime_1, FK_SetDeviceTime_1 3.5.11, 3.5.12)
Increasing access to management / data access records containing the number, the
function of some parameters have changed.
(See GetGeneralLogData_1, GetSuperLogData_1 2.3.9,2.3.10)
(See FK_GetGeneralLogData_1, FK_GetSuperLogData_1 3.3.9,3.3.10)
Rev2.48 2009.03 FKRealSvr.OCX control, real-time transmission of data in the
record to add the following parameters.
(Machine IP address, machine ID number and machine SerialNumber (serial number)
Reference 3.1)
Rev2.49 2009.04 in FKAttend.OCX and FKAttend.DLL, there is no increase in
automatic detection of the normal USB slave
Rev2.50 2009.05 FKAttend.OCX, FKAttend.DLL add daylight saving time setting
function.
(See GetAdjustInfo, SetAdjustInfo 2.8.1, 2.8.2)
(See FK_ GetAdjustInfo, FK_SetAdjustInfo 3.8.1, 3.8.2)
Update setup program: additional UseShift function, CMOS and automatically adjusts
brightness color options.
All rights reserved
Without our permission, may not be copied or transfer some or all of the content. In
order to improve the product may function, the contents of the book that is described
as a more readily available
To change without notice.
Directory
Summary ................................................ 1 ............................. 6
2 FKAttend.OCX interface ............................................ ................... 7
Connect and disconnect the machine ............................................ 2.1 ................... 7
2.1.1 ConnectComm .............................................. ......................... 7
2.1.2 ConnectNet .............................................. .......................... 7
2.1.3 ConnectUSB .............................................. .......................... 8
2.1.4 DisConnect .............................................. .......................... 8
2.1.5 ConnectGetIP .............................................. ............................. 8
2.2 Registration Data Management .............................................. ................... 8
2.2.1 GetEnrollData .............................................. ....................... 8
2.2.2 GetEnrollDataWithString .............................................. ............. 9
2.2.3 PutEnrollData .............................................. ....................... 9
2.2.4 PutEnrollDataWithString .............................................. ............ 10
2.2.5 SaveEnrollData .............................................. ..................... 10
2.2.6 DeleteEnrollData .............................................. ................... 10
2.2.7 USBReadAllEnrollDataFromFile .............................................. ....... 10
2.2.8 USBReadAllEnrollDataCount .............................................. .......... 11
2.2.9 USBGetOneEnrollData .............................................. ................ 11
2.2.10 USBGetOneEnrollDataWithString .............................................. ..... 11
2.2.11 USBSetOneEnrollData .............................................. ............... 12
2.2.12 USBSetOneEnrollDataWithString .............................................. ..... 12
2.2.13 USBWriteAllEnrollDataToFile .............................................. ....... 12
2.2.14 ReadAllUserID .............................................. ..................... 13
2.2.15 GetAllUserID .............................................. ...................... 13
2.2.16 EmptyEnrollData .............................................. ................... 13
2.2.17 ClearKeeperData .............................................. ................... 14
2.2.18 BenumbAllManager .............................................. .................. 14
Data Management .............................................. 2.3 Records .................. 15
2.3.1 LoadSuperLogData .............................................. ................... 15
2.3.2 USBLoadSuperLogDataFromFile .............................................. ........ 15
2.3.3 GetSuperLogData .............................................. .................... 15
2.3.4 EmptySuperLogData .............................................. .................. 16
2.3.5 LoadGeneralLogData .............................................. ................. 16
2.3.6 USBLoadGeneralLogDataFromFile .............................................. ...... 16
2.3.7 GetGeneralLogData .............................................. .................. 17
2.3.8 EmptyGeneralLogData .............................................. ................ 17
-1-
2.3.10 GetSuperLogData_1 .............................................. ...................... 17
2.4 User Information Management .............................................. .................. 20
2.4.1 EnableUser .............................................. ......................... 20
2.4.2 ModifyPrivilege .............................................. .................... 20
2.4.3 GetUserName .............................................. ........................ 20
2.4.4 SetUserName .............................................. ........................ 20
2.4.5 GetNewsMessage .............................................. ..................... 21
2.4.6 SetNewsMessage .............................................. ..................... 21
2.4.7 GetUserNewsID .............................................. ...................... 21
2.4.8 SetUserNewsID .............................................. ...................... 21
2.5 Machine Management ............................................... ..................... 23
2.5.1 EnableDevice .............................................. ....................... 23
2.5.2 PowerOnAllDevice .............................................. ................... 23
2.5.3 PowerOffDevice .............................................. ..................... 23
2.5.4 GetDeviceTime .............................................. ...................... 23
2.5.5 SetDeviceTime .............................................. ...................... 23
2.5.6 GetDeviceStatus .............................................. .................... 24
2.5.7 GetDeviceInfo .............................................. ...................... 24
2.5.8 SetDeviceInfo .............................................. ...................... 25
2.5.9 GetProductData .............................................. ..................... 25
2.5.10 GetDeviceVersion .............................................. .................. 25
2.5.11 GetDeviceTime_1 .............................................. ........................ 25
2.5.12 SetDeviceTime_1 .............................................. ........................ 25
Ring Management .............................................. 2.6 ...................... 27
2.6.1 GetBellTime .............................................. ........................ 27
2.6.2 GetBellTimeWithString .............................................. .............. 27
2.6.3 SetBellTime .............................................. ........................ 27
2.6.4 SetBellTimeWithString .............................................. .............. 27
2.7 doorbell Management ............................................... ..................... 29
2.7.1 GetDoorStatus .............................................. ...................... 29
2.7.2 SetDoorStatus .............................................. ...................... 29
2.7.3 GetPassTime .............................................. ........................ 29
2.7.4 GetPassTimeWithString .............................................. .............. 30
2.7.5 SetPassTime .............................................. ........................ 30
2.7.6 SetPassTimeWithString .............................................. .............. 30
2.7.7 GetUserPassTime .............................................. .................... 30
2.7.8 GetUserPassTimeWithString .............................................. .......... 31
2.7.9 SetUserPassTime .............................................. .................... 31
2.7.10 SetUserPassTimeWithString .............................................. ......... 31
2.7.11 GetGroupPassTime .............................................. .................. 31
-2-
2.7.12 GetGroupPassTimeWithString .............................................. ........ 32
2.7.13 SetGroupPassTime .............................................. .................. 32
2.7.14 SetGroupPassTimeWithString .............................................. ........ 32
2.7.15 GetGroupMatch .............................................. ..................... 33
2.7.16 GetGroupMatchWithString .............................................. ........... 33
2.7.17 SetGroupMatch .............................................. ..................... 33
2.7.18 SetGroupMatchWithString .............................................. ........... 33
Daylight savings time management ............................................. 2.8 ........................
29
2.8.1 GetAdjustInfo .............................................. ........................... 29
2.8.2 SetAdjustInfo .............................................. ........................... 29
3 FKAttend.DLL interface ............................................ .................. 35
Connect and disconnect the machine ............................................ 3.1 .................. 35
3.1.1 FK_ConnectComm .............................................. ..................... 35
3.1.2 FK_ConnectNet .............................................. ...................... 35
3.1.3 FK_ConnectUSB .............................................. ...................... 35
3.1.4 FK_DisConnect .............................................. ...................... 35
3.1.5 FK_ConnectGetIP .............................................. ......................... 28
3.2 Registration Data Management .............................................. .................. 36
3.2.1 FK_GetEnrollData .............................................. ................... 36
3.2.2 FK_GetEnrollDataWithString .............................................. ......... 36
3.2.3 FK_PutEnrollData .............................................. ................... 36
3.2.4 FK_PutEnrollDataWithString .............................................. ......... 36
3.2.5 FK_SaveEnrollData .............................................. .................. 37
3.2.6 FK_DeleteEnrollData .............................................. ................ 37
3.2.7 FK_USBReadAllEnrollDataFromFile .............................................. .... 37
3.2.8 FK_USBReadAllEnrollDataCount .............................................. ....... 37
3.2.9 FK_USBGetOneEnrollData .............................................. ............. 37
3.2.10 FK_USBGetOneEnrollDataWithString .............................................. .. 38
3.2.11 FK_USBSetOneEnrollData .............................................. ............ 38
3.2.12 FK_USBSetOneEnrollDataWithString .............................................. .. 38
3.2.13 FK_USBWriteAllEnrollDataToFile .............................................. .... 38
3.2.14 FK_ReadAllUserID .............................................. .................. 38
3.2.15 FK_GetAllUserID .............................................. ................... 39
3.2.16 FK_EmptyEnrollData .............................................. ................ 39
3.2.17 FK_ClearKeeperData .............................................. ................ 39
3.2.18 FK_BenumbAllManager .............................................. ............... 39
Data Management .............................................. 3.3 Records .................. 40
3.3.1 FK_LoadSuperLogData .............................................. ................ 40
3.3.2 FK_USBLoadSuperLogDataFromFile .............................................. ..... 40
3.3.3 FK_GetSuperLogData .............................................. ................. 40
3.3.4 FK_EmptySuperLogData .............................................. ............... 40
-3-
3.3.5 FK_LoadGeneralLogData .............................................. .............. 40
3.3.6 FK_USBLoadGeneralLogDataFromFile .............................................. ... 41
3.3.7 FK_GetGeneralLogData .............................................. ............... 41
3.3.8 FK_EmptyGeneralLogData .............................................. ............. 41
3.3.9 FK_GetGeneralLogData_1 .............................................. ................... 41
3.3.10 FK_GetSuperLogData_1 .............................................. .................... 41
3.4 User Information Management .............................................. .................. 42
3.4.1 FK_EnableUser .............................................. ...................... 42
3.4.2 FK_ModifyPrivilege .............................................. ................. 42
3.4.3 FK_GetUserName .............................................. ..................... 42
3.4.4 FK_SetUserName .............................................. ..................... 42
3.4.5 FK_GetNewsMessage .............................................. .................. 42
3.4.6 FK_SetNewsMessage .............................................. .................. 43
3.4.7 FK_GetUserNewsID .............................................. ................... 43
3.4.8 FK_SetUserNewsID .............................................. ................... 43
3.5 Machine Management ............................................... ..................... 43
3.5.1 FK_EnableDevice .............................................. .................... 43
3.5.2 FK_PowerOnAllDevice .............................................. ................ 43
3.5.3 FK_PowerOffDevice .............................................. .................. 44
3.5.4 FK_GetDeviceTime .............................................. ................... 44
3.5.5 FK_SetDeviceTime .............................................. ................... 44
3.5.6 FK_GetDeviceStatus .............................................. ................. 44
3.5.7 FK_GetDeviceInfo .............................................. ................... 44
3.5.8 FK_SetDeviceInfo .............................................. ................... 44
3.5.9 FK_GetProductData .............................................. .................. 45
3.5.10 FK_GetDeviceVersion .............................................. ............... 45
3.5.11 FK_GetDeviceTime_1 .............................................. ..................... 45
3.5.12 FK_SetDeviceTime_1 .............................................. ..................... 45
Ring Management .............................................. 3.6 ...................... 45
3.6.1 FK_GetBellTime .............................................. ..................... 45
3.6.2 FK_GetBellTimeWithString .............................................. ........... 46
3.6.3 FK_SetBellTime .............................................. ..................... 46
3.6.4 FK_SetBellTimeWithString .............................................. ........... 46
3.7 doorbell Management ............................................... ..................... 46
3.7.1 FK_GetDoorStatus .............................................. ................... 46
3.7.2 FK_SetDoorStatus .............................................. ................... 47
3.7.3 FK_GetPassTime .............................................. ..................... 47
3.7.4 FK_GetPassTimeWithString .............................................. ........... 47
3.7.5 FK_SetPassTime .............................................. ..................... 47
3.7.6 FK_SetPassTimeWithString .............................................. ........... 47
3.7.7 FK_GetUserPassTime .............................................. ................. 47
-4-
3.7.8 FK_GetUserPassTimeWithString .............................................. ....... 48
3.7.9 FK_SetUserPassTime .............................................. ................. 48
3.7.10 FK_SetUserPassTimeWithString .............................................. ...... 48
3.7.11 FK_GetGroupPassTime .............................................. ............... 48
3.7.12 FK_GetGroupPassTimeWithString .............................................. ..... 48
3.7.13 FK_SetGroupPassTime .............................................. ............... 49
3.7.14 FK_SetGroupPassTimeWithString .............................................. ..... 49
3.7.15 FK_GetGroupMatch .............................................. .................. 49
3.7.16 FK_GetGroupMatchWithString .............................................. ........ 49
3.7.17 FK_SetGroupMatch .............................................. .................. 49
3.7.18 FK_SetGroupMatchWithString .............................................. ........ 50
Daylight savings time management ............................................. 3.8 ........................ 46

3.8.1 FK_GetAdjustInfo .............................................. ........................ 46


3.8.2 FK_SetAdjustInfo .............................................. ........................ 47
4 Notes ................................................ ............................ 51
4.1 The structure ............................................... ....................... 51
4.1.1 BELLINFO structure ............................................ ...................... 51
4.1.2 PASSCTRLTIME structure ............................................ .................. 51
4.1.3 USERPASSINFO structure ............................................ ................... 51
4.1.4 GROUPPASSINFO structure ............................................ ................. 52
4.1.5 GROUPMATCHINFO structure ............................................ ................ 52
4.1.6 ADJUSTINFO structure ............................................ ......................... 52
4.2 Error Code Table .............................................. .................... 52
-5-
1 Summary
The manual explains FK6xx provided on this series of fingerprint attendance
application development methods. About
OEM products FKAttend instructions.
To FKAttend. Ocx, FKAttend.dll, FKViaDev.dll composition
FKAttend.ocx is the top software and machine interface OCX.
FKAttend.dll machine is connected with the upper part of the software dll, function
and FKAttend. Ocx the same.
FKViaDev.dll machine communication with the communication interface dll.
Interface to seven major components.
① connect and disconnect the machine - the part that connect and disconnect with the
machine part.
② Registration Data Management - This section describes how to read and delete the
user's registration data.
③ log data management - management of records and explain how to read and out of
record.
④ user information management - to set the user's name, notification and other
information.
⑤ machines management - to set the machine time, status, information.
⑥ rings Management - Set ring time.
⑦ doorbell management - to set the door operation.
-6-
2 FKAttend.OCX interface
2.1 connect and disconnect the machine
2.1.1 ConnectComm
The form of long ConnectComm (long nMachineNumber, long nComPort, long
nBaudRate, char *
pstrTelNumber, long nWaitDialTime, long nLicense)
Function through the RS-232/485 cable connected to the machine to open COM
interface.
nMachineNumber to connect to the machine number.
nComPort COM Port Number
nBaudRate COM baud rate
pstrTelNumber Phone
nWaitDialTime phone connection standby time (ms)
Parameters
nLicense connection permit number
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code table."
1 "pstrTelNumber" and "nWaitDialTime" Modem connection time by using the
function, if
Modem was not the case enter 0.
Other
2 "nLicense" is for each agent, we provide a license number. Without this number to
connect hungry
Not machines.
2.1.2 ConnectNet
The form of long ConnectNet (long nMachineNumber, char * strIpAddress, long
nPort, long n
TimeOut, long nProtocolType, long nNetPassword, long nLicense)
Function through the network cable to connect the machine when the open network
interfaces.
nMachineNumber to connect to the machine number.
strIpAddress machine to connect to TCP / IP address.
nPort network interface number.
nTimeOut connection standby time (ms)
nProtocolType types of communication protocols
nNetPassword password Netcom Communications
Parameters
nLicense connection permit number.
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code table."
A machine is not the case with the network connection in accordance with
"nTimeOut" standby time after the return error code.
2 "nProtocolType" specified types of network communications protocol.
0: PROTOCOL_TCPIP - TCP / IP communication
1: PROTOCOL_UDP - UDP communication.
Other
3 "nLicense" is "2.1.1 ConnectComm" and the same.
2.1.3 ConnectUSB
The form of long ConnectUSB (long nMachineNumber, long nLicense)
-7-
Function via USB cable connection to communicate with the computer, open the USB
interface.
To connect the machine parameters nMachineNumber number.
nLicense connection permit number.
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code table."
Other 1 "nLicense" is "2.1.1 ConnectComm" and the same.
2.1.4 DisConnect
Form void DisConnect (void)
Function disconnect the connection with the machine.
Parameters
Return no
Off the other one connected with the ConnectComm or ConnectNet off the machine
was open only the corresponding interface.
2.1.5 ConnectGetIP
The form of long ConnectGetIP (BSTR * strComName)
Features to generate IP address of the function name
Find IP address parameter strComName be the name of the machine
Other 1 "nLicense" is "2.1.1 ConnectComm" and the same.
2.2 Registration data management
2.2.1 GetEnrollData
The form of long GetEnrollData (long anEnrollNumber, long anBackupNumber, long
* apnMachin
ePrivilege, long * apnEnrollData, long * apnPassWord)
Function to obtain the user's operating authority and registration information.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
apnMachinePrivi
lege
The parameters of the user's operating authority directs
apnEnrollData directs the parameters of the fingerprint data
Parameters
apnPassWord password or card number directs the parameters of the data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
A successful implementation in accordance with the "anBackupNumber" corresponds
to the registration data to return to the "apnEnrollData" or
"ApnPassWord".
Other
2 to return to the "apnMachinePrivilege" means the operating authority refer "2.4.2
ModifyPrivile
ge ".
3, each user can register three fingerprints and a password or card number, the
registration information is reflected in the "anBackupNumbe
r "on.
"AnBackupNumber" the following meanings:
0: BACKUP_FP_0 - the first fingerprint area to be registered
... ...
9: BACKUP_FP_9 - fingerprints are registered Ninth District
10: BACKUP_PSW - the password to be registered
-8-
11: BACKUP_CARD - card number to be registered
2.2.2 GetEnrollDataWithString
The form of long GetEnrollDataWithString (long anEnrollNumber, long
anBackupNumber, long
* ApnMachinePrivilege, char * apstrEnrollData)
As test function and GetEnrollData instructions, registration form to get information
to the text column.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
apnMachinePrivi
lege
The parameters of the user's operating authority directs
Parameters
apstrEnrollData directs the parameters of registration data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other 1 with the "anBackupNumber" has nothing to do, then the registration
information back to the "apstrEnrollData",
Note 2 on the other parameters, please refer to "2.2.1 GetEnrollData".
2.2.3 PutEnrollData
The form of long PutEnrollData (long anEnrollNumber, long anBackupNumber, long
anMachineP
rivilege, long * apnEnrollData, long anPassword)
Function will be registered users of the operating authority and registration data to the
machine.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
apnEnrollData directs the parameters of the fingerprint data
Parameters
anPassword password or card number data.
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "anBackupNumber" refer to "2.2.1 GetEnrollData".
2 "anMachinePrivilege" refer to "2.4.2 ModifyPrivilege".
3 in accordance with the "anBackupNumber" send. "ApnEnrollData" or
"apnPassword" data.
Other
4, after executing commands to the machine instruction execution SaveEnrollData
save the data transmission, SaveE
nrollData instructions, please refer to "2.2.5 SaveEnrollData".
2.2.4 PutEnrollDataWithString
The form of long PutEnrollDataWithString (long anEnrollNumber, long
anBackupNumber, long
anMachinePrivilege, BSTR apstrEnrollData)
Function and PutEnrollData command similar to the registration information will be
recorded in the form of text columns.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
Parameters
apstrEnrollData directs the parameters of registration data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
-9-
1 regardless of the other "anBackupNumber" registration information directly to the
registration of "apstrEnrollData" on.
Note 2 on the other parameters, please refer to "2.2.3 PutEnrollData".
2.2.5 SaveEnrollData
The form of long SaveEnrollData (void)
Features instruction by PutEnrollData or PutEnrollDataWithString registration
registration data to be transmitted to the machine.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other instructions before using the 1 with PutEnrollData or PutEnrollDataWithString
instruction will be registered
Data transfer machine.
2.2.6 DeleteEnrollData
The form of long DeleteEnrollData (long anEnrollNumber, long anBackupNumber)
Remove the specified function from the registration data.
Parameters anEnrollNumber registration number
anBackupNumber registration number and kinds of data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
If the machine on the other one did not specify if the data is the command failed.
2.2.7 USBReadAllEnrollDataFromFile
The form of long USBReadAllEnrollDataFromFile (char * apstrFilePath)
USB memory management function machine registration data file will read the PC's
memory registration data for analysis.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 file structure is not correct instruction execution is failed.
2 USB memory on the machine refer to the machine using manual methods.
2.2.8 USBReadAllEnrollDataCount
The form of long USBReadAllEnrollDataCount (long * apnValue)
Function returned by USBReadAllEnrollDataFromFile PC memory read instruction
the number of registration data.
Parameters apnValue parameter directs registration information
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other 1 with the directive, first read the information with
USBReadAllEnrollDataFromFile instruction.
2.2.9 USBGetOneEnrollData
The form of long USBGetOneEnrollData (long * apnEnrollNumber, long *
apnBackupNumber, long
* ApnMachinePrivilege, long * apnEnrollData, long * apnPassWord, long * apnEnabl

eFlag, BSTR * apnEnrollName)


- 10 -
Function for reading instruction through USBReadAllEnrollDataFromFile registration
information.
apnEnrollNumber registration number parameter directs
apnBackupNumber registration number parameter indicates the type of information
were
apnMachinePrivilege the parameters of the user's operating authority directs
apnEnrollData directs the parameters of the fingerprint data
apnPassWord password or card number directs the parameters of the data
apnEnableFlag parameters permit the user's machine instructions are
Parameters
apnEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code table."
1, similar to the command and GetEnrollData instruction. Not the same as it is not
directly connected to the part, but with USB
Memory. GetEnrollData instructions on the instructions refer to "2.2.1
GetEnrollData".
After 2 to get the data returned RUNERR_LOG_END.
3 If by USBReadAllEnrollDataFromFile instructions to the computer does not read
the registration information and data
If instruction is to fail.
Other
4 "apnEnableFlag" explanation, please refer to "2.4.1 EnableUser".
2.2.10 USBGetOneEnrollDataWithString
The form of long USBGetOneEnrollDataWithString (long * apnEnrollNumber, long *
apnBackupNum
ber, long * apnMachinePrivilege, BSTR * apstrEnrollData, long * apnEnableFlag,
BSTR * apnEnrollName)
Function and USBGetOneEnrollData command similar to the registration form to
obtain information in the text column.
apnEnrollNumber registration number parameter directs
apnBackupNumber registration data type parameter indicates the number of those 자
apnMachinePrivilege the parameters of the user's operating authority directs
apstrEnrollData parameter directs registration information
apnEnableFlag parameters permit the user's machine instructions are
Parameters
apnEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code table."
1 The command and GetEnrollDataWithString command similar to the part is not the
same as direct connection
Just use the USB memory. See instructions on GetEnrollDataWithString "2.2.2 GetEn

rollDataWithString ".
Other
2 additional help, please refer to "2.2.9 USBGetOneEnrollData".
2.2.11 USBSetOneEnrollData
The form of long USBSetOneEnrollData (long anEnrollNumber, long
anBackupNumber, long anMa
chinePrivilege, long * apnEnrollData, long anPassWord, long anEnableFlag, LPC
TSTR anEnrollName)
Function to the user's operating authority and registration data into USB memory with
the file, in the PC memory is formalized.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
apnEnrollData directs the parameters of the fingerprint data
anPassWord password or card number directs the parameters of the data
Parameters
anEnableFlag parameters permit the user's machine instructions are
- 11 -
anEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, similar to the command and PutEnrollData not the same as part of the instruction is
not directly connected, but with USB storage
Storage device. PutEnrollData instructions on the instructions refer to "2.2.3
PutEnrollData".
Other
2 "anEnableFlag" explanation, please refer to "2.4.1 EnableUser".
2.2.12 USBSetOneEnrollDataWithString
The form of long USBSetOneEnrollDataWithString (long anEnrollNumber, long
anBackupNumber,
long anMachinePrivilege, BSTR apstrEnrollData, long anEnableFlag, LPCTSTR a
nEnrollName)
Function and USBSetOneEnrollData command as the registration information to the
registration form of the text column.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
apstrEnrollData directs the parameters of registration data
anEnableFlag parameters permit the user's machine instructions are
Parameters
anEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, similar to the command and PutEnrollDataWithString instruction, not the same as
part of the direct connection is not only
Is to use USB memory. Please refer to the instructions on the
PutEnrollDataWithString "2.2.4 PutEnr
ollDataWithString ".
Other
2 additional help, please refer to "2.2.11 USBSetOneEnrollData".
2.2.13 USBWriteAllEnrollDataToFile
The form of long USBWriteAllEnrollDataToFile (char * apstrFilePath)
Features instruction by USBSetOneEnrollData or USBSetOneEnrollDataWithString
PC's memory in the making
In the form of registration data files.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 with the directive before a useful basis or USBSetOneEnrollDataWithStri
USBSetOneEnrollData
ng in the form of instructions to do the data.
Other
2 USB memory on the machine to use, please refer to instructions.
2.2.14 ReadAllUserID
The form of long ReadAllUserID (void)
Functional users on all machines read information data on the PC's memory.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 is reading the user information obtained by GetAllUserID instruction.
Please refer to the instructions on the GetAllUserID "2.2.15 GetAllUserID".
Other
2 users have not been registered, the instruction is to fail.
- 12 -
2.2.15 GetAllUserID
The form of long GetAllUserID (long * apnEnrollNumber, long *
apnBackupNumber, long * apnMac
hinePrivilege, long * apnEnableFlag)
Function to read through ReadAllUserID user information, one by one to get.
apnEnrollNumber directs registration number of the parameters
apnBackupNumber registration number of the parameter indicates the type of
information were
apnMachinePrivilege the parameters of the user's operating authority directs
Parameters
apnEnableFlag parameters permit the user's machine parameter indicates the direction
of those who
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 did not read through ReadAllUserID user information, the directives fail.
After 2 to get the data returned RUNERR_LOG_END.
3 to return to the "apnMachinePrivilege" description of the operating authority, please
refer to "2.4.2 ModifyPri
vilege ".
Other
4 "apnEnableFlag" instructions, please refer to "2.4.1 EnableUser".
2.2.16 EmptyEnrollData
The form of long EmptyEnrollData (void)
Function to delete all the registration information is registered.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the registration data, the implementation of the
instruction register before you back up important data.
2.2.17 ClearKeeperData
The form of long ClearKeeperData (void)
Function from the machine remove all registration information and recorded data.
(The machine initialization function.)
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the registration information and recorded data, the
implementation of the instruction register before you back up important data
Material.
2.2.18 BenumbAllManager
The form of long BenumbAllManager (void)
Delete all feature in the landing data management authority information, the user or
even for the general user.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
- 13 -
2.3 Record data management
2.3.1 LoadSuperLogData
The form of long LoadSuperLogData (long anReadMark)
Records management functions from the machine will read the PC's memory for
analysis.
Parameters anReadMark read signs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The data read to the other one can get through GetSuperLogData. Please refer to
"2.3.3 GetSuperLogData".
2 anReadMark = 1, then attending a new Canadian record data.
anReadMark = 0 read all the case records of data.
2.3.2 USBLoadSuperLogDataFromFile
The form of long USBLoadSuperLogDataFromFile (char * apstrFilePath)
USB memory management functions the machine records the data file management
record data will be read in PC memory for analysis.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 and LoadSuperLogData similar to the case with the PC off using the instructions for
the management data.
2, the structure of the file under the incorrect instruction execution is failed.
Other
3 USB to use the machine reference manual.
2.3.3 GetSuperLogData
The form of long GetSuperLogData (long * apnSEnrollNumber, long *
apnGEnrollNumber, long * a
pnManipulation, long * apnBackupNumber, DATE * apnDateTime)
Features instruction by LoadSuperLogData or USBLoadSuperLogDataFromFile PC
memory management record read
Recorded one by one to get.
apnSEnrollNumber manager directs the registration number of the parameters
apnGEnrollNumber is the registration number of the parameter manager directs
apnManipulation managed object identification number of the parameter directs
apnBackupNumber kind of information by managers of the registration number of the
parameter directs
Parameters
apnDateTime management record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Once the data for the other one back RUNERR_LOG_END.
2 first run LoadSuperLogData or USBLoadSuperLogDataFromFile instruction, or the
instruction
Be failed.
- 14 -
3 "apnManipulation" as follows:
3: LOG_ENROLL_USER - the average user registration
4: LOG_ENROLL_MANAGER - Manager Registration
5: LOG_ENROLL_DELFP - delete the fingerprint data
6: LOG_ENROLL_DELPASS - delete a password
7: LOG_ENROLL_DELCARD - remove card data
8: LOG_LOG_ALLDEL - delete all the log data
9: LOG_SETUP_SYS - change machine information
10: LOG_SETUP_TIME - modify the machine time
11: LOG_SETUP_LOG - modify the record limit
12: LOG_SETUP_COMM - modify the communication
13: LOG_PASSTIME - the time set by
14: LOG_SETUP_DOOR - information setting gate operation
2.3.4 EmptySuperLogData
The form of long EmptySuperLogData (void)
Remove all functions from the management of the machine records data.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the management of recorded data, the implementation
of the instruction register before you back up important data.
2.3.5 LoadGeneralLogData
The form of long LoadGeneralLogData (long anReadMark)
Function from the machine to record data read out of memory on a PC for analysis.
Parameters anReadMark read signs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to the data read by GetGeneralLogData can get.
"2.3.7 GetGeneralLogData".
Other
2 anReadMark = 1 case to read the new record data
anReadMark = 0 in the case of all hardships to read the data
2.3.6 USBLoadGeneralLogDataFromFile
The form of long USBLoadGeneralLogDataFromFile (BSTR apstrFilePath)
USB memory function of the machine and out of the number of records the file
management record data will be read in PC memory for analysis.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 and LoadGeneralLogData similar to the case with the PC off and out of record data
in order to obtain the use of the means
Order.
2 file structure is not correct instruction execution failed.
Other
3 USB to use the machine reference manual.
- 15 -
2.3.7 GetGeneralLogData
The form of long GetGeneralLogData (long * apnEnrollNumber, long *
apnVerifyMode, long * apn
InOutMode, DATE * apnDateTime)
Function read by LoadGeneralLogData or USBLoadGeneralLogDataFromFile PC
memory access instructions
Record data one by one to get.
apnEnrollNumber out the parameters of the user directs the registration number
apnVerifyMode sure way directs the parameters
apnInOutMode parameter directs out of the way
Parameters
apnDateTime access to record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 "apnVerifyMode" as follows:
1: LOG_FPVERIFY - Fingerprint recognition
2: LOG_PASSVERIFY - password confirmation
3: LOG_CARDVERIFY - card recognition
4: LOG_FPPASS_VERIFY - fingerprint + password confirmation
5: LOG_FPCARD_VERIFY - fingerprint + card confirmation
6: LOG_PASSFP_VERIFY - Password + Fingerprint recognition
7: LOG_CARDFP_VERIFY - card + fingerprint recognition
Version of controlled lock function in use. (See "2.7 doorbell Management")
10: LOG_OPEN_DOOR - confirmation signals sent to open the door
11: LOG_CLOSE_DOOR - confirmation signals sent close
12: LOG_OPEN_HAND - through the open door button sends signal
13: LOG_OPEN_THREAT - Anti-fingerprint recognition, threatened to send the
signal to open the door
14: LOG_PROG_OPEN - opening signal sent from the operation of machinery
15: LOG_PROG_CLOSE - send a close signal from the operation of machinery
16: LOG_OPEN_IREGAL - send a signal to open the door of illicit sex
17: LOG_CLOSE_IREGAL - send a signal to close the illegal nature of
18: LOG_OPEN_COVER - open the machine casing
19: LOG_CLOSE_COVER - off the machine casing
3, first with LoadGeneralLogData or USBLoadGeneralLogDataFromFile instruction,
or the means
That is failure.
Other
4 "apnInOutMode" as follows:
0: LOG_IOMODE_IN - into the way of confirmation
1: LOG_IOMODE_OUT - a sure way
2: LOG_IOMODE_IO - generally is recognized
2.3.8 EmptyGeneralLogData
The form of long EmptyGeneralLogData (void)
Function to delete all records of data access.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
- 16 -
1 because all other entry and exit records to delete all data, the implementation of the
instruction register before you back up important data out of
Record data.
2.3.9
2.3.10 GetGeneralLogData_1
Form GetGeneralLogData_1 (long * apnEnrollNumber, long pnVerifyMode, long *
apnInOu
tMode, long * apnYear, long * apnMonth, long * apnDay, long * apnHour,
long * apnMinute, long * apnSec)
Function read by LoadGeneralLogData or USBLoadGeneralLogDataFromFile PC
memory access instructions
Record data one by one to get.
apnEnrollNumber out the parameters of the user directs the registration number
apnVerifyMode sure way directs the parameters
apnInOutMode parameter directs out of the way
Parameters
apnYear, apnMonth
apnDay, apnHour
apnMinute, apnSec
Access to record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 "apnVerifyMode" as follows:
1: LOG_FPVERIFY - Fingerprint recognition
2: LOG_PASSVERIFY - password confirmation
3: LOG_CARDVERIFY - card recognition
4: LOG_FPPASS_VERIFY - fingerprint + password confirmation
5: LOG_FPCARD_VERIFY - fingerprint + card confirmation
6: LOG_PASSFP_VERIFY - Password + Fingerprint recognition
7: LOG_CARDFP_VERIFY - card + fingerprint recognition
Version of controlled lock function in use. (See "2.7 doorbell Management")
10: LOG_OPEN_DOOR - confirmation signals sent to open the door
11: LOG_CLOSE_DOOR - confirmation signals sent close
12: LOG_OPEN_HAND - through the open door button sends signal
13: LOG_OPEN_THREAT - Anti-fingerprint recognition, threatened to send the
signal to open the door
14: LOG_PROG_OPEN - opening signal sent from the operation of machinery
15: LOG_PROG_CLOSE - send a close signal from the operation of machinery
16: LOG_OPEN_IREGAL - send a signal to open the door of illicit sex
17: LOG_CLOSE_IREGAL - send a signal to close the illegal nature of
18: LOG_OPEN_COVER - open the machine casing
19: LOG_CLOSE_COVER - off the machine casing
3, first with LoadGeneralLogData or USBLoadGeneralLogDataFromFile instruction,
or the means
That is failure.
Other
4 "apnInOutMode" as follows:
0: LOG_IOMODE_IN - into the way of confirmation
1: LOG_IOMODE_OUT - a sure way
2: LOG_IOMODE_IO - generally is recognized
- 17 -
2.3.11
2.3.12 GetSuperLogData_1
The form of long GetSuperLogData (long * apnSEnrollNumber, long *
apnGEnrollNumber, long
* ApnManipulation, long * apnBackupNumber, long * apnYear, long * apnMonth,
long * apnDay, long * apnHour, long * apnMinute, long * apnSec)
Features instruction by LoadSuperLogData or USBLoadSuperLogDataFromFile read
PC memory management
Records one by one to get.
apnSEnrollNumber manager directs the registration number of the parameters
apnGEnrollNumber is the registration number of the parameter manager directs
apnManipulation managed object identification number of the parameter directs
apnBackupNumber kind of information by managers of the registration number of the
parameter directs
Parameters
apnYear, apnMonth
apnDay, apnHour
apnMinute, apnSec
Access to record the date, time, directs the parameters
Successful return of a form of implementation, failure to return the corresponding
error code. Error code specifically refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 first run LoadSuperLogData or USBLoadSuperLogDataFromFile instruction, or the
Instruction is failed.
Other
3 "apnManipulation" as follows:
3: LOG_ENROLL_USER - the average user registration
4: LOG_ENROLL_MANAGER - Manager Registration
5: LOG_ENROLL_DELFP - delete the fingerprint data
6: LOG_ENROLL_DELPASS - delete a password
7: LOG_ENROLL_DELCARD - remove card data
8: LOG_LOG_ALLDEL - delete all the log data
9: LOG_SETUP_SYS - change machine information
10: LOG_SETUP_TIME - modify the machine time
11: LOG_SETUP_LOG - modify the record limit
12: LOG_SETUP_COMM - modify the communication
13: LOG_PASSTIME - the time set by
14: LOG_SETUP_DOOR - information setting gate operation
- 18 -
2.4 User Information Management
2.4.1 EnableUser
The form of long EnableUser (long anEnrollNumber, long anBackupNumber, long
anEnableFlag)
Set user on the machine function available / unavailable.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
Parameters
anEnableFlag license logo
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 anEnableFlag = 0 that is not available,
anEnableFlag = 1 that is available.
2.4.2 ModifyPrivilege
The form of long ModifyPrivilege (long anEnrollNumber, long anBackupNumber,
long anMachin
ePrivilege)
Feature set the user's authority to operate the machine.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
Parameters
anMachinePrivilege operating authority
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 other user to operate the machine in accordance with the permissions can be divided
into general user and administrator. Permissions are reflected in the "anMachinePri
vilege "on.
"AnMachinePrivilege" as follows:
0: MP_NONE - the average user (can only be confirmed on the machine the user)
1: MP_ALL - managers. (The user can operate the machine)
2.4.3 GetUserName
The form of long GetUserName (long anEnrollNumber, char * apstrUserName)
Function to get assigned to the user's name.
Parameters anEnrollNumber registration number
apstrUserName who kept the name of the parameter indicates
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apstrUserName" the name of the largest 10byte (up to 10 up to 5 letters or
other text.)
2 does not assign the name of the directive is to fail.
2.4.4 SetUserName
The form of long SetUserName (long anEnrollNumber, char * apstrUserName)
Functions assigned to the user name.
Parameters anEnrollNumber registration number
apstrUserName directs contains the name of the parameter
- 19 -
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "apstrUserName" in the name of the largest size of 10byte (up to 10 letters or up to
five other
Text).
Other
2, the user is not assigned the case of the directive is to fail.
2.4.5 GetNewsMessage
The form of long GetNewsMessage (long anNewsId, char * apstrNews)
Function from the machine to get notification of text specified.
Parameters anNewsId informed the identification number
apstrNews informed the parameter directs the data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anNewsId" is the text of the specified number of notification, the range of '0
to 255.
2 "apstrUserName" in the name of the largest size is 48byte (up to 48 letters, most
other
More than 24 with the text).
2.4.6 SetNewsMessage
The form of long SetNewsMessage (long anNewsId, char * apstrNews)
Notice the text on the machine set function.
Parameters anNewsId informed the identification number
apstrNews informed the parameter directs the data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.4.5 GetNewsMessage".
2.4.7 GetUserNewsID
The form of long GetUserNewsID (long anEnrollNumber, long * apnNewsId)
Function to get the text to the user assigned identification number of the notice.
Parameters anEnrollNumber registration number
apnNewsId directs identification number 의 parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnNewsId" in "2.4.6 SetNewsMessage" setting.
2.4.8 SetUserNewsID
The form of long SetUserNewsID (long anEnrollNumber, long anNewsId)
Functions assigned to the user informed the identification number.
Parameters anEnrollNumber registration number
anNewsId identification number
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnNewsId" in "2.4.6 SetNewsMessage" setting.
- 20 -
Machine Management 2.5
2.5.1 EnableDevice
The form of long EnableDevice (long anEnabledFlag)
Feature set of machines available / not available.
Parameters anEnabledFlag permission flag
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 other communication with the PC and the machine stops when the use of machine
operation.
2 anEnabledFlag = 0, that stop the show "work" notice the text. AnEnabledFlag = 1,
that
Allow machine operation, showed normal interface.
2.5.2 PowerOnAllDevice
Form void PowerOnAllDevice (void)
Function starts the connection machine.
Parameters
Return no
The other one RS-485 communication instructions when using.
2.5.3 PowerOffDevice
The form of long PowerOffDevice (void)
Switch off the machine functions.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 implementation of the Directive other words, the machine is disconnected off the
power.
2.5.4 GetDeviceTime
The form of long GetDeviceTime (DATE * apnDateTime)
Function to get the machine date and time.
Parameters apnDateTime date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
2.5.5 SetDeviceTime
The form of long SetDeviceTime (DATE anDateTime)
Feature set the machine date and time.
Parameters apnDateTime date, time,
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
- 21 -
2.5.6 GetDeviceStatus
The form of long GetDeviceStatus (long anStatusIndex, long * apnValue)
Function for the state now exists on the value of the machine.
Parameters of the machine state identification number anStatusIndex
apnValue directs state value of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other one is the role of instruction in the PC, to understand the role of the state of
the machine.
2 "anStatusIndex" as follows:
1: GET_MANAGERS - existing in the number of managers
2: GET_USERS - the existing number of users in general
3: GET_FPS - existing in the number of fingerprint data
4: GET_PSWS - the existing data on the number of password
5: GET_SLOGS - the new management of existing records in the number of data
6: GET_GLOGS - new and out of the existing record in the number of data
7: GET_ASLOGS - the management of all existing records in the number of data
8: GET_AGLOGS - out of all the existing records in the number of data
9: GET_CARDS - the existing data on the number of cards
2.5.7 GetDeviceInfo
The form of long GetDeviceInfo (long anInfoIndex, long * apnValue)
Features for machine information.
Machine identification number information parameters anInfoIndex
apnValue directs the parameters of information value
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anInfoIndex" as follows:
1: DI_MANAGERS - Register up to the number of managers
2: DI_MACHINENUM - Machine No.
3: DI_LANGAUGE - the language to be displayed on the machine
4: DI_POWEROFF_TIME-custom power off
5: DI_LOCK_CTRL - locks operation flag
6: DI_GLOG_WARNING - maximum number of records out
When will the registration records of the numerical value smaller than the word alarm.

7: DI_SLOG_WARNING - maximum number of records management,


When will the registration records of the numerical value smaller than the word alarm.

8: DI_VERIFY_INTERVALS-time can be cut off repeatedly confirmed.


Repeated confirmation of the time when the record is not left behind.
9: DI_RSCOM_BPS - Serial communication baud rate. Not a baud rate values are as
follows.
BPS_9600 = 3
BPS_19200 = 4
BPS_38400 = 5
BPS_57600 = 6
- 22 -
BPS_115200 = 7
10: DI_DATE_SEPARATE-date, time display format
11: DI_VERIFY_KIND: comparison mode, as compared to the mode setting.
0: F / P / C
1: F + P
2: F + C
3: C
2.5.8 SetDeviceInfo
The form of long SetDeviceInfo (long anInfoIndex, long anValue)
Feature set the machine information.
Machine identification number information parameters anInfoIndex
apnValue information value
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anInfoIndex" with the specific value of "2.5.7 GetDeviceInfo" the same.
2.5.9 GetProductData
The form of long GetProductData (long anProductIndex, char * apstrProductData)
Function for the seller stated the sales information.
Parameter identification number anProductIndex sales information
apstrProductData parameter directs sales information
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anProductIndex" as follows:
1: PRODUCT_SERIALNUMBER - serial number
2: PRODUCT_BACKUPNUMBER - booking numbers
3: PRODUCT_CODE - version
4: PRODUCT_NAME - version name
5: PRODUCT_WEB - the website seller
6: PRODUCT_DATE - Sale Date
7: PRODUCT_SENDTO - name of the Purchaser
2.5.10 GetDeviceVersion
The form of long GetDeviceVersion (long * apnVersion)
Features for each model for each type responses on the updated version.
Parameter version of the parameter directs apnVersion
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
2.5.11 GetDeviceTime_1
The form of long GetDeviceTime_1 (long * apnYear, long * apnMonth, long *
apnDay, long * a
pnHour, long * apnMinute, long * apnSec, long * apnDayOfWeek)
- 23 -
Function to get the machine date and time.
Parameters apnYear, apnMonth
apnDay, apnHour
apnMinute, apnSe
c, apnDayOfWeek
Date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
2.5.12 SetDeviceTime_1
The form of long SetDeviceTime_1 (long anYear, long anMonth, long anDay, long
anHour, long an
Minute, long anSec, long anDayOfWeek)
Feature set the machine date and time.
Parameters anYear, anMonth
anDay, anHour,
anMinute, anSec,
anDayOfWeek
Date, time,
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
- 24 -
2.6 Ring Management
2.6.1 GetBellTime
The form of long GetBellTime (long * apnBellCount, long * aptBellInfo)
Function for ring settings.
The number of parameters parameters apnBellCount directs Bell
aptBellInfo ring parameter information structure directs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 a loud ringing the number back to "apnBellCount".
2 is the number of rings set, set the time, information on the ring to return to the
"aptBellInfo".
"AptBellInfo" instructions, please refer to "4.1.1 BELLINFO".
2.6.2 GetBellTimeWithString
The form of long GetBellTimeWithString (long * apnBellCount, char * apstrBellInfo)

Function and GetBellTime command as a text column in the form of rings to get the
information.
Parameters apnBellCount ring directs the number of parameters
apstrBellInfo ringing message text directs the parameters listed
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.6.1 GetBellTime".
2.6.3 SetBellTime
The form of long SetBellTime (long anBellCount, long * aptBellInfo)
Feature set on the machine ring information.
The number of parameters anBellCount ring
aptBellInfo ring parameter information structure directs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anBellCount" The last time the number of rings to set.
2 "aptBellInfo" setting is set on the number of rings, set the time, information about
the ring.
"AptBellInfo" instructions, please refer to "4.1.1 BELLINFO".
2.6.4 SetBellTimeWithString
The form of long SetBellTimeWithString (long anBellCount, char * apstrBellInfo)
The same function and SetBellTime instruction, will ring out in the form of
information in text settings.
The number of parameters anBellCount ring
apstrBellInfo ring parameter information structure directs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.6.3 SetBellTime".
- 25 -
2.7 doorbell Management
This feature is not all versions have the.
2.7.1 GetDoorStatus
The form of long GetDoorStatus (long * apnStatusVal)
Function for open state.
Parameter apnStatusVal directs state values of the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnStatusVal": as follows:
0: DOOR_CONTROLRESET - door control state machine.
1: DOOR_OPEND - door is open.
2: DOOR_CLOSED - the door is closed.
3: DOOR_COMMNAD-control instructions in accordance with the door, the door
opened automatically after a period of time to close.
2.7.2 SetDoorStatus
The form of long SetDoorStatus (long anStatusVal)
Functional operation of door status.
State value parameter anStatusVal
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anStatusVal" Help, please refer to "2.7.1 GetDoorStatus".
2.7.3 GetPassTime
The form of long GetPassTime (long anPassTimeID, long * apnPassTime, long
anPassTimeSize)
Function for the time period to open the door to close the information (TimeZone).
anPassTimeID time information identification number
apnPassTime time parameters of the information structure directs
Parameters
anPassTimeSize time the length of the information structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "anPassTimeID" refers to the time the information structure number.
50 can be set up to structure, the value is '0 ''49'.
2 "apnPassTime" reflect "anPassTimeID" the time period specified in the value of the
information structure. The structure
Each week, in accordance with the seven time periods.
"4.1.2 PASSCTRLTIME structure."
Other
3 "anPassTimeSize" is "apnPassTime" the length of the structure to determine the
length of API is not enough
Enough to be provided.
2.7.4 GetPassTimeWithString
The form of long GetPassTimeWithString (long anPassTimeID, char *
apstrPassTime)
- 26 -
Function and GetPassTime same time returns the information to the text column.
Parameter identification number anPassTimeID time information
apnPassTime time information on the text column structure directs the parameters of
the form
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.5 SetPassTime
The form of long SetPassTime (long anPassTimeID, long * apnPassTime, long
anPassTimeSize)
Feature set to open the door closing time information (TimeZone).
anPassTimeID time information identification number
apnPassTime time parameters of the information structure directs
Parameters
anPassTimeSize time the length of the information structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.6 SetPassTimeWithString
The form of long SetPassTimeWithString (long anPassTimeID, char * apstrPassTime)

Function and SetPassTime same time information is entered in the text column.
Parameter identification number anPassTimeID time information
apnPassTime time information on the parameters of the column structure directs the
text
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.7 GetUserPassTime
The form of long GetUserPassTime (long anEnrollNumber, long * apnGroupID, long
* apnPassTim
eID, long anPassTimeIDSize)
Function for the time period allocated to the user information combined with
individual time allocation information.
anEnrollNumber registration number
apnGroupID directs the parameter combination number
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "apnGroupID" instructions, please refer to "2.7.11 GetGroupPassTime".
2 "apnPassTimeID" is assigned to the user identification number for all time the
arrangement of the information-based composite structure
Body. Structure definitions refer to "4.1.3 USERPASSINFO structure." Identification
number of the explanation
Refer to "2.7.3 GetPassTime".
Other
3 "anPassTimeSize" is "apnPassTime" in length, is provided in the API the length of
the structure
Enough.
- 27 -
2.7.8 GetUserPassTimeWithString
The form of long GetUserPassTimeWithString (long anEnrollNumber, long *
apnGroupID, char *
apstrPassTimeID)
The same function and GetUserPassTime command will identify the number of
structures returned as a text column.
anEnrollNumber registration number
apnGroupID directs the parameter combination number
Parameters
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.9 SetUserPassTime
The form of long SetUserPassTime (long anEnrollNumber, long anGroupID, long *
apnPassTimeI
D, long anPassTimeIDSize)
Functional information to the user set period of time combined with the time allocated
to each message.
anEnrollNumber registration number
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.10 SetUserPassTimeWithString
The form of long SetUserPassTimeWithString (long anEnrollNumber, long
anGroupID, char * ap
strPassTimeID)
The same function and SetUserPassTime instruction, structure identification number
will be listed in the form of text input.
anEnrollNumber registration number
anGroupID combination of numbers
Parameters
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.11 GetGroupPassTime
The form of long GetGroupPassTime (long anGroupID, long * apnPassTimeID, long
anPassTimeID
Size)
Function to obtain the information portfolio in time period information for each
identification number.
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other one in the machine several time information will be combined and then
combined structure can be used, "anGroupID" is
Means that the combinations of numbers. 5 combination can be set up, the value is '1
'~ '5'.
- 28 -
2 "apnPassTimeID" is assigned to each combination of the time the information
identification number of the order type composite structures
Body, a combination where you can set three structure identification number, the
structure of the definition of reference to "4.1.4 GRO
UPPASSINFO structure ", identification number, instructions, please refer to" 2.7.3
GetPassTime ".
3 "anPassTimeIDSize" is "apnPassTimeID" the length of the structure to determine
the length of API
Enough.
2.7.12 GetGroupPassTimeWithString
The form of long GetGroupPassTimeWithString (long anGroupID, char *
apstrPassTimeID)
The same function and GetGroupPassTime command will identify the number of
structures returned as a text column.
No combination of parameters anGroupID
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.13 SetGroupPassTime
The form of long SetGroupPassTime (long anGroupID, long * apnPassTimeID, long
anPassTimeID
Size)
Feature set time period on the mix of information, identification number.
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.14 SetGroupPassTimeWithString
The form of long SetGroupPassTimeWithString (long anGroupID, char *
apstrPassTimeID)
The same function and SetGroupPassTime command will identify the number of
columns of text input structure.
No combination of parameters anGroupID
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.15 GetGroupMatch
The form of long GetGroupMatch (long * apnGroupMatch, long anGroupMatchSize)
Function to get time information structure of the portfolio composition door operation

Combination of parameters apnGroupMatch combination directs the parameters of


structure
anGroupMatchSize combination of the length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
- 29 -
1 time a combination of organizational structure information for later use in the open /
close operation.
Combination of up to 10 group, "apnGroupMatch" the arrangement of the Combined
portfolio structure.
Please refer to the definition of structure "4.1.5 GROUPMATCHINFO structure."
Structure description of the project portfolio in a row and number.
For example: 1 and 3, while the case is a combination of '13 '
1, 3 and 5, while the case is a combination of '135 '.
Other
2 "anPassTimeIDSize" is "apnPassTimeID" in length, is provided in the API of the
structure
Enough length.
2.7.16 GetGroupMatchWithString
The form of long GetGroupMatchWithString (char * apstrGroupMatch)
The same function and GetGroupMatchTime instruction. The portfolio structure and
returns a text column.
Combination of parameter combinations apstrGroupMatch text column structure
directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.15 GetGroupMatch".
2.7.17 SetGroupMatch
The form of long SetGroupMatch (long * apnGroupMatch, long anGroupMatchSize)
Feature set period of time the information structure of the combination of gates
combination.
Combination of parameters apnGroupMatch combination directs the parameters of
structure
anGroupMatchSize composite structure length.
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.15 GetGroupMatch".
2.7.18 SetGroupMatchWithString
The form of long SetGroupMatchWithString (char * apstrGroupMatch)
The same function and SetGroupMatch instruction will be combined structure to text
columns registration.
Combination of parameter combinations apstrGroupMatch text column structure
directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.15 GetGroupMatch".
2.8 summer-time management
This feature is not all versions have the.
2.8.1 GetAdjustInfo
The form of long GetAdjustInfo (long * dwAdjustedState, long * dwAdjustedMonth,
long * dwAdj
ustedDay, long * dwAdjustedHour, long * dwAdjustedMinute, long * dwRestoredStat

e, long * dwRestoredMonth, long * dwRestoredDay, long * dwRestoredHour, long *


d
wRestoredMinute)
Functional status for the summer time.
Parameter values of the parameters of the state directs
- 30 -
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "dwAdjustedState, dwRestoredState": as follows:
None: No change.
-1: One hour earlier.
+1: One hour later.
2.8.2 SetAdjustInfo
The form of long SetAdjustInfo (long dwAdjustedState, long dwAdjustedMonth, long
dwAdjust
edDay, long dwAdjustedHour, long dwAdjustedMinute, long dwRestoredState, lon
g dwRestoredMonth, long dwRestoredDay, long dwRestoredHour, long
dwRestoredM
inute)
Functional operation of the summer-time status.
Parameter status values (see 4.1.6 structure)
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "dwAdjustedState, dwRestoredState": as follows:
None: No change.
-1: One hour earlier.
+1: One hour later.
- 31 -
3 FKAttend.DLL interface
FKAttend.DLL interface and FKAttend.OCX similar.
For a variety of connections, the return for the first time communication interface
identification number, and other interface is also used to achieve the identification
number
Communication with the machine, the function and FKAttend.OCX not the same.
The following explains the functions and differences between the corresponding
points.
3.1 connect and disconnect the machine
3.1.1 FK_ConnectComm
The form of long FK_ConnectComm (long nMachineNo, long nComPort, long
nBaudRate, char * ps
trTelNumber, long nWaitDialTime, long nLicense)
Function through the RS-232/485 cable connected to the machine to open COM
interface.
Back to execute successfully, returns the interface identification number. The value
should be a value greater than 0
If the failure to return the corresponding error code. A specific reference to the error
code "4.2 error code table."
1, specifically refer to other "2.1.1 ConnectComm".
3.1.2 FK_ConnectNet
The form of long FK_ConnectNet (long nMachineNo, char * pstrIpAddress, long
nNetPort, lon
g nTimeOut, long nProtocolType, long nNetPassword, long nLicense)
Function through the network cable to connect the machine when the open network
interfaces.
Back to execute successfully, returns the interface identification number. The value
should be a value greater than 0
If the failure to return the corresponding error code. A specific reference to the error
code "4.2 error code table."
1, specifically refer to other "2.1.2 ConnectNet".
3.1.3 FK_ConnectUSB
The form of long FK_ConnectUSB (long nMachineNo, long nLicense)
Functions through the USB cable to open the USB communication interface.
Back to execute successfully, returns the interface identification number. The value
should be a value greater than 0
If the failure to return the corresponding error code. A specific reference to the error
code "4.2 error code table."
1, specifically refer to other "2.1.3 ConnectUSB".
3.1.4 FK_DisConnect
Form void FK_DisConnect (long nHandleIndex)
Function disconnect the connection with the machine.
1 "nHandleIndex" is to be returned by FK_ConnectComm or communications access
FK_ConnectNet
Port identification number.
Other
2 specifically refer to "2.1.4 DisConnect".
3.1.5
- 32 -
3.1.6 FK_ConnectGetIP
The form of long ConnectGetIP (BSTR * strComName)
Features to generate IP address of the function name
Find IP address parameter strComName be the name of the machine
Other 1 "nLicense" is "2.1.1 ConnectComm" and the same.
3.2 Registration data management
3.2.1 FK_GetEnrollData
The form of long FK_GetEnrollData (long nHandleIndex, long nEnrollNumber, long
nBackupNum
ber, long * pnMachinePrivilege, void * pnEnrollData, long * pnPassWord)
Function to obtain the user's operating authority and registration information.
1 "nHandleIndex" is to be returned by FK_ConnectComm or communications access
FK_ConnectNet
Port identification number.
Other
2 specifically refer to "2.2.1 GetEnrollData".
3.2.2 FK_GetEnrollDataWithString
The form of long FK_GetEnrollDataWithString (long nHandleIndex, long
nEnrollNumber, long
nBackupNumber, long * pnMachinePrivilege, LPSTR * apstrEnrollData)
As test function and FK_GetEnrollData instructions, registration form to get
information to the text column.
1 "nHandleIndex" is to be returned by FK_ConnectComm or communications access
FK_ConnectNet
Port identification number.
Other
2 specifically refer to "2.2.2 GetEnrollDataWithString".
3.2.3 FK_PutEnrollData
The form of long FK_PutEnrollData (long nHandleIndex, long nEnrollNumber, long
nBackupNum
ber, long nMachinePrivilege, void * pnEnrollData, long nPassWord)
Function will be registered users of the operating authority and registration data to the
machine.
1 "nHandleIndex" is to be returned by FK_ConnectComm or communications access
FK_ConnectNet
Port identification number.
Other
2 specifically refer to "2.2.3 PutEnrollData".
3.2.4 FK_PutEnrollDataWithString
The form of long FK_PutEnrollDataWithString (long nHandleIndex, long
nEnrollNumber, long
nBackupNumber, long nMachinePrivilege, char * apstrEnrollData)
Function and FK_PutEnrollData command similar to the registration information will
be recorded in the form of text columns.

Other

Other

Remove the specified function from the registration data.

Other

Other

Other
Other

Other

Of.

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Other

Other

Other

Other

Other

Other
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "

Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "

RS485 , TCP IP

You might also like