How-To Guide. SigCard1 (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.



Similar documents
How-To Guide. Crystal Report Demo. Copyright Topaz Systems Inc. All rights reserved.

Abstract. Introduction. System Requirement. GUI Design. Paper AD

Connecting to an Excel Workbook with ADO

Installing the Gerber P2C Plotter USB Driver

Pocket Verifier Quick Start HTC Touch Diamond

IVI Configuration Store

Visual Basic and Databases

Client Instructions - ID Tech Configuration Instructions

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use

Communicate with Test Instruments Over LAN Using Visual Basic

Software Developer Guide

MapWindow GIS ActiveX Control

CardSwipe Integration

WhatsUp Gold v16.2 MSP Edition Deployment Guide This guide provides information about installing and configuring WhatsUp Gold MSP Edition to central

VisionMate Flat Bed Scanner 2D Tube Barcode Reader

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

Applications Development

Introducing VBA Message Boxes

Introduction to Custom GIS Application Development for Windows. By: Brian Marchionni

SMS Database System Quick Start. [Version 1.0.3]

How to Create a Basic VPN Connection in Panda GateDefender eseries

MY WORLD GIS. Installation Instructions

Pocket Verifier Smartphone Edition Release Version 1 User Guide and Tutorial for Windows Mobile 5 Smartphone Motorola Q Samsung i320

Changing the Display Frequency During Scanning Within an ImageControls 3 Application

THE HELLO WORLD PROJECT

Programming in Access VBA

PULSE Automation programming in Visual Basic. From BK training lectures arranged by Jiří Tůma & Radovan Zadražil

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Retail epay User Manual

CAPIX Job Scheduler User Guide

SA-9600 Surface Area Software Manual

Scotia Bill Payment Remittance Reporting Service

New MINIMAG Magnetic Stripe Reader

Article. Robust Signature Capture Using SigPlus Software. Copyright Topaz Systems Inc. All rights reserved.

NTP Software File Reporter Analysis Server

Dolphin Ocean Server and Dolphin Mobile Client Installation Guide for Android and ios. May 2012

Elo 1725L 17 Touch Screen Monitor Installation Guide. Product Name: Elo 1725L 17- inch Monitor

Data Analysis Software

Table of Contents Install a Printer Driver... 2 Print a Test Label... 9 Uninstall a Printer and Driver... 10

ScanWin Installation and Windows 7-64 bit operating system

The Answer to the 14 Most Frequently Asked Modbus Questions

Rapid Assessment Key User Manual

Program to solve first and second degree equations

FaxCore 2007 Getting Started Guide (v1.0)

e-gate USB Smart Card Driver Install Notes (Windows 98/98SE/Me)

Setting up a networked printer on a local PC

Network FAX Driver. Operation Guide

USB Driver Installation Manual [Windows Vista/Windows 7]

Alarms Dispatcher Cod. DOCS 11 AD-E Build 1101

Guide for Remote Control PDA

WebSphere Business Monitor V6.2 KPI history and prediction lab

TIGERPAW EXCHANGE INTEGRATOR SETUP GUIDE V3.6.0 August 26, 2015

Infinity C Reference Guide

Hands-on Exercise 1: VBA Coding Basics

AUDITVIEW USER INSTRUCTIONS

MULTIFUNCTIONAL DIGITAL COLOR SYSTEMS / MULTIFUNCTIONAL DIGITAL SYSTEMS. e-filing Guide

Strategic Asset Tracking System User Guide

Polycom CMA System Upgrade Guide

Printer Driver Installation Guide

Knowledge Base POS/C31A Troubleshooting

Setup When you have met all these requirements, follow these steps to perform the installation and configuration.

with VBA

B&K Precision 1785B, 1786B, 1787B, 1788 Power supply Python Library

Installing the OKI MCx61MFP USB Attached, in Windows 8

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

DATA PROJECTOR XJ-A146/XJ-A246/XJ-A256

VRX Company Inc. Application Note: DacEasy Point of Sale setup for Pole Display

Microsoft Dynamics GP. Pay Steps for Human Resources Release 9.0

The following items are trademarks or registered trademarks of Kaba Mas in the United States and/or other countries. GITCON

CONSOLEWORKS WINDOWS EVENT FORWARDER START-UP GUIDE

Docklight V2.1 User Manual 08/2015. Copyright 2015 Flachmann und Heggelbacher GbR

NTP Software File Auditor for Windows Edition

Chapter 3 Software Installation

Upgrade: SAP Mobile Platform Server for Windows SAP Mobile Platform 3.0 SP02

Version 5.0. SurfControl Web Filter for Citrix Installation Guide for Service Pack 2

NETWORK PRINT MONITOR User Guide

Resolving USB Driver Problems

USB Driver INSTALLATION GUIDE 6 NOVEMBER 2013 RIGHT SOLUTIONS RIGHT PARTNER D B

Digital telephony. Softphone Getting Started Guide. Business Edition TEL-GDA-AFF

CONTENTS. Micromate Windows Driver Installation Guide VERSION CONTROL... 2 CHANGE DESCRIPTION... 2 DRIVER PACKAGE CONTENTS... 3

USB Card Reader Plug-in Installation Guide. Xerox WorkCentre 5325/5330/5335 Xerox WorkCentre 7120 Xerox WorkCentre 7425/7428/7435

Plug-In How-To Guide

Windows Dial Up Networking (DUN) for AirLink Modems Application Note - How To

MyNetFone Virtual Fax. Virtual Fax Installation

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

LOVELINK III- Process Monitoring, Logging, Graphing, & Configuration

Importing data from Linux LDAP server to HA3969U

Application & Quick-Start Guide

A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD

CentreWare for Microsoft Operations Manager. User Guide

NetworX TM NX-8E Alarm Panel. Application Note. NetworX NX-8E. 1.0 The NetworX NX-8E Alarm Panel

Plug-In How-To Guide

ADP CollectAll Manager v2.4 User s Guide

FD40 User Guide. Version 16.0 June 2015

User's Guide. Dosimeter Configuration Software ADR-1/60

Create a PDF File. Tip. In this lesson, you will learn how to:

Stellar Phoenix. SQL Database Repair 6.0. User Guide

Transcription:

How-To Guide SigCard1 (With Microsoft Access) Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal.

Table of Contents Overview... 3 Code... 5 2 www.topazsystems.com Back to Top

Overview Welcome to the Topaz SigCard1 Demo How-To Guide. This demo can be used to better understand how to implement a card reader in use with SigCard1 in a Microsoft Access environment. Download the demo at: www.topazsystems.com/software/download/access/sigcard1_access.zip Begin by opening sigcard1.mdb. It will be located in the.zip file you downloaded from The Topaz website. The screen below will appear. Click on SigCard1 to open the database. 3 www.topazsystems.com Back to Top

To add a new user click. You will be taken to a new record as shown below. Enter your name information. Also, make sure the connection type and COM port match your device and setup. In the case of this demo, we used a serial device set to COM 1. After you input your information, click Open Port to open the port to accept card data. Once the port is open, you will see the green box indicator. This does not verify that the device is plugged in and working properly; it only means the port was opened successfully. If you see the green indicator, swipe your card through your card reader. 4 www.topazsystems.com Back to Top

If everything is setup correctly, the card data will be displayed in the CardData text box as an ASCII hex string. Code CmdClose() is used to close the port, change the color of the indicator box to default gray, and turn off the timer. Private Sub cmdclose_click() SigCard1.SetCardState 0 lblstate.backcolor = -2147483633 'Timer1.Enabled = False CmdOpen() is used to close the port, assign a connection type and COM port based on user input, and then reopen the port. IntAns then checks to see if the port opened successful and returns accordingly. Private Sub cmdopen_click() SigCard1.SetCardState 0 If cbotype.value = "Serial" Then SigCard1.MsrType = 0 SigCard1.SetComPort cboport.value Else SigCard1.MsrType = 6 intans = SigCard1.SetCardState(1) If intans = 0 Then 'open success 'cmdopenport.enabled = False lblstate.backcolor = 65408 ElseIf intans = 1 Then lblstate.backcolor = -2147483633 MsgBox "Error Opening Port." & vbcrlf & vbcrlf & "Either it does not exist or is already in use.", vbokonly + vbexclamation, "Error Opening Port " & Combo1.Text ElseIf Err.Number = 2 Then lblstate.backcolor = -2147483633 MsgBox "Error Reading MSR Device", vbokonly + vbexclamation, "Error Reading MSR" 5 www.topazsystems.com Back to Top

Below the defaults are set for the drop down menus. Private Sub Form_Load() cboport.value = 1 cbotype.value = "Serial" When you swipe the card, the data can be collected in separate lots. The CardReceived event can fire more than once for one card swipe. Therefore, data is gathered in pieces in the invisible temporary text field. The timer checks the temp text field every half second (500ms), looking for more than two characters of data. If it does not find more than two characters, it exits the sub. If, however, it finds more than two characters, then is looks for the carriage return character and the? character. These two characters together indicate that card data collection is complete. The code then looks for 21088811D02. This string is the data given to the developer based upon a successful opening of the port with the card swipe reader connected. This string is an indicator string, so it is removed completely. If this string is not present, then we have the complete card data. At this point, we assign this card data to a string variable called strholder. Finally, the strholder data is transferred to the visible text field where the user sees the card data. Private Sub Form_Timer() On Error GoTo EH 'if the last two characters of the data are?lf, then we are done 'Form.Refresh 'txttempdata.setfocus If Len(txtTempData.Text) > 2 Then 'If Asc(Right(txtTempData.Text, 1)) = 13 And Mid(txtTempData.Text, Len(txtTempData.Text) - 2, 1) = "?" Then If Mid(txtTempData.Text, Len(txtTempData.Text) - 0, 1) = "?" Then 'Timer1.Enabled = False Dim strholder As String If Left(txtTempData.Text, 11) = "21088811D02" Then 'remove the "initialize success" string\ strholder = Right(txtTempData.Text, Len(txtTempData.Text) - 12) 'txttempdata.text = Right(txtTempData.Text, Len(txtTempData.Text) - 12) Else strholder = txttempdata.text 'MsgBox "Here's the final card data: " & vbcrlf & vbcrlf & Text1.Text CardData.SetFocus CardData.Value = "" CardData.Value = strholder txttempdata.setfocus txttempdata.text = "" 'Timer1.Enabled = True Exit Sub EH: 6 www.topazsystems.com Back to Top

When you close the database, the below code turns the timer off and closes the port. Private Sub Form_Unload(Cancel As Integer) SigCard1.SetCardState 0 'Timer1.Enabled = False This subroutine assigns the data from the card to be displayed in the CardData text box. Private Sub SigCard1_CardReceived() txttempdata.setfocus txttempdata.text = txttempdata.text & SigCard1.GetCardData 7 www.topazsystems.com Back to Top