ReadCardSub code for TDOA system