![background image](http://html1.mh-extra.com/html/hand-held-products/padcom-tt1500/padcom-tt1500_user-manual_589777116.webp)
5 - 28
//
// *******************************************************
// * Step 3: Check if any of the tracks were read.
*
// *******************************************************
//
dataReadFromTrack1 = padGetMagTrack ( 1, track1, TRACK1_MAX );
dataReadFromTrack2 = padGetMagTrack ( 2, track2, TRACK2_MAX );
dataReadFromTrack3 = padGetMagTrack ( 3, track3, TRACK3_MAX );
if
(
dataReadFromTrack1 ||
dataReadFromTrack2 ||
dataReadFromTrack3
)
{
//
// At this point we know that at least 1 track was read
// successfully (the last track read, i.e., track 3).
//
// It is possible one or more of the other tracks were
// checked before any data was retrieved from the card.
//
// As soon as one track contains data all of the other
// tracks will as well.
//
// To make sure we get all of the data from all of the tracks
// we will read all of them again.
//
//
// *******************************************************
// * Step 4: Read all of the tracks
*
// *******************************************************
// Note: step 4 is not needed if only one track is being read
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...