##// END OF EJS Templates
csv storage function debugged
leroy -
r56:212bbc0512d8 default
parent child
Show More
@@ -1,6 +1,6
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by QtCreator 2.8.1, 2013-11-14T14:43:39. -->
3 <!-- Written by QtCreator 2.8.1, 2013-11-18T13:26:36. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -731,7 +731,7 unsigned int TMStatistics::getSID(TMPack
731
731
732 if (csvPacketRecordFileEn == true)
732 if (csvPacketRecordFileEn == true)
733 {
733 {
734 *(this->packetLogFileStrm)
734 *(this->csvPacketRecordFileStrm)
735 << QString::number(currentDate.year()) + " "
735 << QString::number(currentDate.year()) + " "
736 << QString::number(currentDate.month()) + " "
736 << QString::number(currentDate.month()) + " "
737 << QString::number(currentDate.day()) + " "
737 << QString::number(currentDate.day()) + " "
@@ -739,10 +739,10 unsigned int TMStatistics::getSID(TMPack
739 << QString::number(currentTime.msec());
739 << QString::number(currentTime.msec());
740 for (i=0; i< packet->size; i++)
740 for (i=0; i< packet->size; i++)
741 {
741 {
742 *(this->packetLogFileStrm)
742 *(this->csvPacketRecordFileStrm)
743 << ", " + QString::number( packet->Value[i] );
743 << ", " + QString::number( packet->Value[i] );
744 }
744 }
745 *(this->packetLogFileStrm)
745 *(this->csvPacketRecordFileStrm)
746 << endl;
746 << endl;
747 }
747 }
748
748
General Comments 0
You need to be logged in to leave comments. Login now