SDK Funnction Manual Ver35
SDK Funnction Manual Ver35
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Dim str As String
'Call function to calculate the number of registered card (or PIN) number in System
str = MainMDI.ACT1.RegCardCount(Left(Combo3.Text, 2), CStr(Combo14.ListIndex))
Example Code
Dim strHcode As String
Dim strCcode As String
Dim str As String
str = C_TimeString
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Dim str As String
Dim i, j, k As Integer
Example Code
Dim str As String
str = C_DateString
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Example Code
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Dim i As Integer
Dim strTimeCode
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
In case of Finger007
- ‘2’ is RF only.
- ‘3’ is RF + FINGER (PW).
- ‘4’ is RF + PW + FINGER.
In case of Icon100
- ‘2’ is RF only.
- ‘3’ is RF + PW.
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "Check Error"
Case 2
Combo8.ListIndex = 0
Case 3
Combo8.ListIndex = 1
Case 4
Case 5
Case 6
End Select
Time “HHMMSS”
- HH: hours (00-23)
- MM: minutes (00-59)
- SS: second (00-59)
Week W- week(1-7) : 1-Sunday,2-Monday,3-Tuesday,4-Wednesday,5-Thursday,6-
Friday,7-Saturday
Function : Date/time data download to controller.
Example Code
Week = Combo1.ListIndex + 1
Example Code
Example Code
Dim str As String
Dim i As Integer
str = Combo5.ListIndex + 1
- ‘1’ is Operation.
Sec - '99' is always operation
- ’01-98’ is 01 Sec to 98 Sec operation.
Function : Control Output Port download to controller.
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Public Function InOutTable (ByVal BoardID As Integer, ByVal InputPort As String,ByVal OutputTime
As String, ByVal Output1 As String, ByVal Output2 As String, ByVal Output3 As String, ByVal
Output4 As String, ByVal Output5 As String )
Argument Description
BoardID Address number that saved setting value.
InoutPort - 01 is Input 1.
- 02 is Input 2.
- 03 is Input 3.
- 04 is Input 4.
- 05 is Input 5(Tamper).
- 06 is RF1 OK.
- 07 is RF1 ERROR(invalid ID).
- 08 is RF1 ERROR invalid time Schedule.
- 09 is RF1 ERROR (invalid Anti-passback)
- 10 is RF2 OK.
- 11 is RF2 ERROR(Invalid ID).
- 12 is RF2 ERROR(Invalid Time Schedule).
- 13 is RF2 ERROR(Invalid Anti-passback).
- 14 is Duress mode
- 15 is Duress mode(Unuse)
- 16 is Output port timeschedule setting.
OutputTime Time Schedule number (1 to 10) to register
Example
End Sub
Example Code
Dim i As Integer
Example Code
Dim str As Integer
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Example Code
Dim i As Integer
Dim str As String
Example Code
If Combo4.ListIndex = 0 Then
Use = True
Else
Use = False
End If
i = MDIForm1.ACT1.KeyPadUse(MDIForm1.Combo1.Text, Use)
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
End Select
End Sub
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
Combo4.ListIndex = 0
Case 2
Combo4.ListIndex = 1
End Select
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Chcek Error"
End Select
Example Code
Dim i As Integer
Select Case i
Case 0
MsgBox "Communication Error"
Case 1
MsgBox "OK"
Case 2
MsgBox "Check Error"
End Select
Argument Description
BoardID Address number that saved setting value.
CardID
Flag
Finger
Function : Fingerprint data download to Controller
This Command use only Finger007 System
Example Code
Dim i As Integer
With CardRS
If .RecordCount <> 0 Then
CardRS.Edit
CardRS!card_no = Trim(Text7.Text)
CardRS!FP1 = Mid(str, 14, 1200)