beautypg.com

Section 4. events, Carddatachanged event, Carddataerror event – MagTek USB HID Swipe Reader User Manual

Page 25

background image

21

SECTION 4. EVENTS


CARDDATACHANGED EVENT
This event fires when a card with magnetic data is passed through the reader and the PortOpen
property is True.

Syntax

Sub USBHID_CardDataChanged()



CARDDATAERROR EVENT
This event fires when an error in card swipe is detected and the PortOpen property is True.

Syntax

Sub USBHID_CardDataError()