Changeset 217 in tmcsimulator for branches/FEPSimulator/HighwaysParser.cpp


Ignore:
Timestamp:
11/02/2017 10:53:38 PM (9 years ago)
Author:
jtorres
Message:

Implemented logging into FEPSimulator. Now logs output into FEPSimLog.txt. Error messages are still output to console so you know immediately if there is an error. The log file is cleared upon FEPSim start-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FEPSimulator/HighwaysParser.cpp

    r209 r217  
    9999            newStation->length = newStation->loops.size() * 2 + CONTROL_DATA_LEN; 
    100100            newStation->dataPack = DataPacker::packData(newStation); 
    101             for(int byte = 0; byte < newStation->length; byte++) 
    102             { 
    103                 printf("%02X", (unsigned char) newStation->dataPack[byte]); 
    104             } 
    105             printf("\n"); 
    106101             
    107102            this->stations.push_back(newStation); 
Note: See TracChangeset for help on using the changeset viewer.