Scope
scope::parameters::Stimulation Class Reference

#include <Scope.h>

Inherits scope::parameters::Base.

Public Member Functions

void Load (const wptree &pt) override
 
void Save (wptree &pt) const override
 
void SetReadOnlyWhileScanning (const RunState &_runstate) override
 

Public Attributes

ScopeString channel
 
ScopeString timingsource
 
ScopeNumber< bool > enable
 
ScopeNumber< double > onset
 
ScopeNumber< double > duration
 
ScopeNumber< double > ontime
 
ScopeNumber< double > offtime
 

Additional Inherited Members

- Protected Attributes inherited from scope::parameters::Base
std::vector< boost::signals2::connection > connection_collector
 

Detailed Description

Parameters for digital stimulation output.

Definition at line 26 of file Scope.h.

Member Function Documentation

void scope::parameters::Stimulation::Load ( const wptree &  pt)
overridevirtual

load parameters from a boost::property_tree

Reimplemented from scope::parameters::Base.

Definition at line 22 of file Scope.cpp.

void scope::parameters::Stimulation::Save ( wptree &  pt) const
overridevirtual

save parameters into a boost:property_tree

Reimplemented from scope::parameters::Base.

Definition at line 32 of file Scope.cpp.

void scope::parameters::Stimulation::SetReadOnlyWhileScanning ( const RunState _runstate)
overridevirtual

set values that must not be changed to read-only during scanning.

True = readonly, false = read&write

Reimplemented from scope::parameters::Base.

Definition at line 42 of file Scope.cpp.

Member Data Documentation

ScopeString scope::parameters::Stimulation::channel

digital output channel

Definition at line 33 of file Scope.h.

ScopeString scope::parameters::Stimulation::timingsource

timing source.

Be careful NI M-series devices can not divide down their onboard clock to provide a sample clock for digital I/O (see http://www.ni.com/white-paper/3615/en under 4. / Shared sample clock. Thus using "" (and providing a reference clock) or "OnboardClock" does not work here! Put in a sample clock from e.g. the analog output task or provide the sample clock via the PXI_Trig from the FPGA!

Definition at line 39 of file Scope.h.

ScopeNumber<bool> scope::parameters::Stimulation::enable

stimulation enabled/disabled

Definition at line 42 of file Scope.h.

ScopeNumber<double> scope::parameters::Stimulation::onset

onset of stimulation

Definition at line 45 of file Scope.h.

ScopeNumber<double> scope::parameters::Stimulation::duration

total duration of stimulation

Definition at line 48 of file Scope.h.

ScopeNumber<double> scope::parameters::Stimulation::ontime

on time of one stimulation pulse

Definition at line 51 of file Scope.h.

ScopeNumber<double> scope::parameters::Stimulation::offtime

off time after stimulation pulse

Definition at line 54 of file Scope.h.


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