Changeset - 807cd6bb1572
[Not reviewed]
Hasan Yavuz Ă–ZDERYA - 10 years ago 2016-04-03 14:55:00
hy@ozderya.net
use actual channel names when exporting snapshot
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/snapshot.cpp
Show inline comments
 
@@ -114,13 +114,13 @@ void Snapshot::save(QString fileName)
 
        unsigned numOfChannels = data.size();
 
        unsigned numOfSamples = data[0].size();
 

	
 
        // print header
 
        for (unsigned int ci = 0; ci < numOfChannels; ci++)
 
        {
 
            fileStream << "Channel " << ci;
 
            fileStream << channelName(ci);
 
            if (ci != numOfChannels-1) fileStream << ",";
 
        }
 
        fileStream << '\n';
 

	
 
        // print rows
 
        for (unsigned int i = 0; i < numOfSamples; i++)
0 comments (0 inline, 0 general)