2 #include "ZoomResonance.h"
3 #include "helpers/ScopeException.h"
int32_t WriteDigitalLines(const uInt8 *_data, int32 _sampsperchan, bool _autostart=false, float64 _timeout=2, bool32 _layout=DAQmx_Val_GroupByChannel)
Writes to up to 8 digital lines (in one port, I suppose), depending on which lines are configured int...
void Set(const uint8_t &_factor)
Sets the amplitude reduction factor.
void CreateDOChannel(const std::wstring &_devicelines, const std::wstring &_channelname=L"")
Creates a digital output channel.
uint8_t state
current zoom state
This is the include file for standard system include files, or project specific include files that ar...
void Initialize(const std::wstring &_outputline)
Initialization.
void ScopeExceptionHandler(const std::string &_origin, const bool &_log, const bool &_showmessagebox, const bool &_trace, const bool &_rethrow)
Handles all exceptions and does nice logging.
void CreateTask(const std::wstring &_name=L"")
DAQmx::CDAQmxDigitalOutTask task
the DAQmx task
ZoomResonance()
Constructor, reset to amplitude 1.
~ZoomResonance()
Destructor, reset to amplitude 1.