3 #include "daqmx/DAQmxTask.h"
16 mutable std::atomic<bool>
state;
31 void Initialize(
const std::wstring& _outputline);
40 void Set(
const bool& _on);
void TurnOn(void)
Turns the relay on.
~SwitchResonance()
Relay gets closed on destruction.
Controls the relay for turning on and off the resonance scanner via DAQmx one line digital output...
void Set(const bool &_on)
Turns the relay on and off.
const uint8_t ondata
a one
Wraps a DAQmx Digital Output task.
void Initialize(const std::wstring &_outputline)
Relay gets closed on initialization.
void TurnOff(void)
Turns the relay off.
std::atomic< bool > state
current relay state
const uint8_t offdata
a zero
DAQmx::CDAQmxDigitalOutTask task
the DAQmx task