Scope
|
#include <StimulationsDAQmx.h>
Public Member Functions | |
StimulationsDAQmx (const parameters::Scope &_params) | |
~StimulationsDAQmx () | |
void | Start () |
virtual int32_t | Write (std::shared_ptr< const std::vector< uint8_t >> const _stimvec) |
Protected Attributes | |
DAQmx::CDAQmxDigitalOutTask | task |
Wraps hardware connection for stimulation output with NI-DAQmx.
Definition at line 16 of file StimulationsDAQmx.h.
scope::StimulationsDAQmx::StimulationsDAQmx | ( | const parameters::Scope & | _params | ) |
Creates the tasks for digital stimulation output with NI-DAQmx.
Configure timing for the stimulation task.
Definition at line 9 of file StimulationsDAQmx.cpp.
scope::StimulationsDAQmx::~StimulationsDAQmx | ( | ) |
Stop and clear the digital stimulation task.
Definition at line 25 of file StimulationsDAQmx.cpp.
void scope::StimulationsDAQmx::Start | ( | void | ) |
Start stimulation task, waits on first output task sample clock.
Definition at line 30 of file StimulationsDAQmx.cpp.
|
virtual |
Write the stimulation vector to the digital stimulation task.
Definition at line 34 of file StimulationsDAQmx.cpp.
|
protected |
The DAQmx tasks.
Definition at line 20 of file StimulationsDAQmx.h.