3 #include "daqmx/DAQmxTask.h"
16 mutable std::atomic<bool>
state;
31 void Initialize(
const std::wstring& _outputline);
40 void Set(
const bool& _open);
void Set(const bool &_open)
Open/Closes the shutter.
void Open(void)
Opens the shutter.
~Shutter()
Shutter gets closed on destruction.
void Close(void)
Closes the shutter.
void Initialize(const std::wstring &_outputline)
Shutter gets closed on initialization.
Wraps a DAQmx Digital Output task.
const uint8_t ondata
a one
const uint8_t offdata
a zero
Controls a shutter via DAQmx one line digital output.
std::atomic< bool > state
current shutter state
DAQmx::CDAQmxDigitalOutTask task
the DAQmx task