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 bool &_open)
Open/Closes the shutter.
void Open(void)
Opens the shutter.
void CreateDOChannel(const std::wstring &_devicelines, const std::wstring &_channelname=L"")
Creates a digital output channel.
~Shutter()
Shutter gets closed on destruction.
void Close(void)
Closes the shutter.
This is the include file for standard system include files, or project specific include files that ar...
void Initialize(const std::wstring &_outputline)
Shutter gets closed on 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.
const uint8_t ondata
a one
void CreateTask(const std::wstring &_name=L"")
const uint8_t offdata
a zero
std::atomic< bool > state
current shutter state
DAQmx::CDAQmxDigitalOutTask task
the DAQmx task