Section 3. methods, Gettrack method – MagTek USB HID Swipe Reader User Manual
Page 15
11
SECTION 3. METHODS
GETTRACK METHOD
Returns card data from a specific track.
Syntax
Result =USBHID.GetTrack(TrackNum As Integer) As String
The GetTrack method syntax has these parts:
Part
Description
TrackNum An integer specifying which Track Number from Card Data to Return.
Remarks
Explanation of tracks:
Track #
Description
0
Unparsed Card Data. Same as ‘.CardData’. It includes all tracks.
1
Start Sentinel ‘%’ End Sentinel is the first ‘?’ after Start Sentinel.
2
Start Sentinel ‘;’ End Sentinel is the first ‘?’ after Start Sentinel.
3
Start Sentinel ‘+’ End Sentinel is the first ‘?’ after Start Sentinel.
4
Start Sentinel ‘!’ End Sentinel is the first ‘?’ after Start Sentinel (used in
AAMVA cards).
5
Start Sentinel ‘#’ End Sentinel is the first ‘?’ after Start Sentinel (used in
CADL’s).
Data Type
String