Scope
OutputsDAQmxResonance.h
1 #pragma once
2 
3 #include "Outputs.h"
4 #include "devices/daqmx/DAQmxTask.h"
5 #include "ScopeDatatypes.h"
6 
7 // Forward declarations
8 namespace scope {
9  namespace parameters {
10  class OutputsDAQmxResonance;
11  class Scope;
12  }
13 }
14 
15 namespace scope {
16 
19  : public Outputs {
20 
21 protected:
24 
27 
28 public:
36  OutputsDAQmxResonance(const uint32_t& _area, const parameters::OutputsDAQmxResonance& _outputparams, const parameters::Scope& _params);
37 
40 
42  void Start() override;
43 
45  void Stop() override;
46 
53  int32_t Write(const std::vector<int16_t> &_xyzp, const uint32_t& _blocks = 1) override;
54 
55 };
56 
59 public:
63 };
64 
65 }
66 
Wraps hardware connection for zeroing signal output to scanners, fast z control, and pockels cell wit...
The master parameters class.
Definition: Scope.h:204
~OutputsDAQmxResonance()
Stop and clear output task.
Wraps hardware connection for signal output to scanners, fast z control, and pockels cell with NI-DAQ...
DAQmx::CDAQmxAnalogOutTask task
The DAQmx task for x/y-scanners/fast z/Pockels clocked by a pixel clock.
OutputsDAQmxResonance(const uint32_t &_area, const parameters::OutputsDAQmxResonance &_outputparams, const parameters::Scope &_params)
Creates the task for scanner, pockels, and fast-z output with NI DAQmx.
In here all declarations for all kinds of datatypes Scope needs.
Wraps a DAQmx Digital Output task.
Definition: DAQmxTask.h:224
Wraps a DAQmx Analog Output task.
Definition: DAQmxTask.h:137
ZeroOutputsDAQmxResonance(const parameters::OutputsDAQmxResonance &_params)
Create a simple tasks for writing a scalar zero to all channels.
int32_t Write(const std::vector< int16_t > &_xyzp, const uint32_t &_blocks=1) override
Writes values for one frame of X-Y-fastZ and pockels data to the device buffer.
Parameters for signal generation for y scanner and digital zoom with NI-DAQmx when the x scanner is a...
Definition: IO.h:696
void Stop() override
Stop task.
DAQmx::CDAQmxDigitalOutTask taskResonanceZoom
The DAQmx task for the resenance scanner zoom factor.
void Start() override
Start task, last the first output task (all other are waiting for it as their start trigger)...
Wraps hardware connection for signal output to scanners, fast z control, and pockels cell...
Definition: Outputs.h:6