Scope
scope::OutputsDAQmxSlave Class Reference

#include <OutputsDAQmxSlave.h>

Inherits scope::Outputs.

Public Member Functions

 OutputsDAQmxSlave (const uint32_t &_area, const parameters::OutputsDAQmxSlave &_outputparams, const parameters::Scope &_params)
 
void Start () override
 
void Stop () override
 
int32_t Write (const std::vector< int16_t > &_xyzp, const uint32_t &_blocks) override
 
- Public Member Functions inherited from scope::Outputs
 Outputs (const uint32_t &_area)
 
virtual void AbortWrite ()
 

Protected Attributes

DAQmx::CDAQmxAnalogOutTask zpout_task
 
- Protected Attributes inherited from scope::Outputs
const uint32_t area
 
std::atomic< bool > writeabort
 

Detailed Description

Wraps hardware connection for signal output to fast z control and pockels cell (for a slave area without its own scanner) with NI-DAQmx.

Definition at line 17 of file OutputsDAQmxSlave.h.

Constructor & Destructor Documentation

scope::OutputsDAQmxSlave::OutputsDAQmxSlave ( const uint32_t &  _area,
const parameters::OutputsDAQmxSlave _outputparams,
const parameters::Scope _params 
)

Create the task for pockels and fast z.

Definition at line 8 of file OutputsDAQmxSlave.cpp.

Member Function Documentation

void scope::OutputsDAQmxSlave::Start ( void  )
overridevirtual

Start task.

Reimplemented from scope::Outputs.

Definition at line 56 of file OutputsDAQmxSlave.cpp.

void scope::OutputsDAQmxSlave::Stop ( void  )
overridevirtual

Stops task.

Reimplemented from scope::Outputs.

Definition at line 60 of file OutputsDAQmxSlave.cpp.

int32_t scope::OutputsDAQmxSlave::Write ( const std::vector< int16_t > &  _xyzp,
const uint32_t &  _blocks 
)
overridevirtual

we also take a std::vector<int16_t> but for the slave area it has only samples for z&p !

Reimplemented from scope::Outputs.

Definition at line 65 of file OutputsDAQmxSlave.cpp.

Member Data Documentation

DAQmx::CDAQmxAnalogOutTask scope::OutputsDAQmxSlave::zpout_task
protected

Task for fast z/Pockels clocked by a pixel clock.

Definition at line 22 of file OutputsDAQmxSlave.h.


The documentation for this class was generated from the following files: