|void||setFile (QString filename)|
|open a file |
Public Member Functions
|CSVWriter (QObject *=0)|
|QString||ending () const|
|The ending of your files. |
|void||writeDataSet (NSCore::AcqisitionDataSet &data)|
|Write a single dataset to disk. |
This writes CSV files which gives the posibility to load and show the waveforms in gnuplot.
Columns are: sample, ch1, ch2,...
The blocks are separated by two newlines, just as gnuplot likes it.
|NSDiskIO::CSVWriter::CSVWriter||(||QObject *|| =
|QString NSDiskIO::CSVWriter::ending||(||)|| const
|void NSDiskIO::CSVWriter::writeDataSet||(||NSCore::AcqisitionDataSet &||data||)||
Write a single dataset to disk.
You have to implement this function to write a dataset to disk. There is no need for other things to do, the rest will be done by customEvent of the AbstractDiskWriter
|data||the dataset you should write|
open a file