TOBI SignalServer  0.1
SampleBlock< double > tobiss::gBSamp::getAsyncData ( ) [virtual]

Method to achieve asynchronous data acquisition (method is non-blocking).

Returns:
SampleBlock<double>

This method return immediately after calling with a copy of the data stored in the device's buffer. It is called from all slave devices.

Warning:
If hardware clocks are not running with the same sampling rate or drifting (e.g. master - 128Hz, slave 129Hz), this method could be called although no new data is available (master faster than slave) or one sample has been lost (master slower than slave). Up to now no compensation method (e.g. interpolation) has been implemented!

Implements tobiss::gBSampBase.

Definition at line 197 of file gBSamp_unix.cpp.

 All Data Structures Files Functions Variables