TOBI SignalServer  0.1
/home/breidi/Dropbox/signalserver/include/hardware/sine_generator.h File Reference

sine_generator is a dummy hardware device for simulation purposes. More...

Go to the source code of this file.

Data Structures

class  tobiss::SineGenerator
 A dummy hardware device for simulation and testing purposes. More...

Detailed Description

sine_generator is a dummy hardware device for simulation purposes.

sine_generator can be used the same way like a normal data acquisition device with reduced configuration possibilities. It produces a sine with a frequency of 1Hz on a selectable amount of channels in a buffered or unbuffered way. Generating a sine on multiple channels, an incrementing, channel dependent phase value is added to the sine to facilitate distinction. The sine generator can be operated in synchronous an asynchronous manner. It uses boost::asio and boost::thread to ensure proper timing.

Definition in file sine_generator.h.

 All Data Structures Files Functions Variables