NSAcqiris::Digitizer Class Reference

One digitizer Represents a digitizer in all its beauty. More...

#include <acqiris.h>

Inheritance diagram for NSAcqiris::Digitizer:

NSCore::DataSetProducer NSCore::QTreeItem QObject NSCore::PointerProtection_Skel
Collaboration diagram for NSAcqiris::Digitizer:

Collaboration graph
[legend]

List of all members.

Public Slots

void singleShot (bool)
 do single or continuous acquirations
void startAcqisition ()
 Starts the acquisition.
void stopAcqisition ()
 Stops the acquisition (either by forcedTrigger or not...).
void calibrate ()
 Stops a current Acquisition and does a full calibration.

Signals

void acquisitionStarted ()
 an acquisition was started
void acquisitionStopped ()
 the acquisition stopped regularly
void acquisitionStoppedTimeout ()
 the acquisition stopped because of a timeout

Public Member Functions

bool singleShot ()
 wether to do single or continuous acquisations
int channels ()
 how many channels are there?
int externaltriggers ()
 how many external trigger are there?
NSCore::NamedParameterTreeItemPointer config ()
 access the configuration-tree
QStringList triggersources ()

Static Public Member Functions

static QStringList triggerslopes ()
static QStringList triggercouplings ()
static QStringList fullscales ()
 Returns a list of possible FullScales.
static QStringList couplings ()
 Returns a list of possible couplings.
static QStringList bandwidths ()
 Returns a list of possible bandwidths.
static QStringList LEDColors ()

Private Slots

void forwardData (NSCore::AcqisitionDataSet)
 forward data converted by the converter-threads into the chain

Private Member Functions

 Digitizer (quint32, Acqiris *, QString)
 Inits the digitizer.
 ~Digitizer ()
QString debug () const
 Custom debug text.
QDomNode saveToXML (QDomDocument doc)
 Store the information of this element into a new QDomElement.
bool restoreFromXML (QDomNode node)
 Restore the state of this element from the given QDomNode.

Private Attributes

quint32 _instrumentID
 Variables.
NSCore::NamedParameterTreeItemPointer _c
 Variables.
DigitizerThread_acqthread
 Variables.
QList< ConverterThread * > _converters
 Variables.
QTimer * _timer
 Variables.

Friends

class Acqiris


Detailed Description

One digitizer Represents a digitizer in all its beauty.

Constructor & Destructor Documentation

NSAcqiris::Digitizer::Digitizer ( quint32  ,
Acqiris ,
QString   
) [private]

Inits the digitizer.

NSAcqiris::Digitizer::~Digitizer (  )  [private]


Member Function Documentation

bool NSAcqiris::Digitizer::singleShot (  ) 

wether to do single or continuous acquisations

int NSAcqiris::Digitizer::channels (  ) 

how many channels are there?

int NSAcqiris::Digitizer::externaltriggers (  ) 

how many external trigger are there?

NSCore::NamedParameterTreeItemPointer NSAcqiris::Digitizer::config (  )  [inline]

access the configuration-tree

References _c.

QStringList NSAcqiris::Digitizer::triggersources (  ) 

static QStringList NSAcqiris::Digitizer::triggerslopes (  )  [inline, static]

static QStringList NSAcqiris::Digitizer::triggercouplings (  )  [inline, static]

static QStringList NSAcqiris::Digitizer::fullscales (  )  [inline, static]

Returns a list of possible FullScales.

static QStringList NSAcqiris::Digitizer::couplings (  )  [inline, static]

Returns a list of possible couplings.

static QStringList NSAcqiris::Digitizer::bandwidths (  )  [inline, static]

Returns a list of possible bandwidths.

static QStringList NSAcqiris::Digitizer::LEDColors (  )  [inline, static]

void NSAcqiris::Digitizer::singleShot ( bool   )  [slot]

do single or continuous acquirations

void NSAcqiris::Digitizer::startAcqisition (  )  [slot]

Starts the acquisition.

void NSAcqiris::Digitizer::stopAcqisition (  )  [slot]

Stops the acquisition (either by forcedTrigger or not...).

void NSAcqiris::Digitizer::calibrate (  )  [slot]

Stops a current Acquisition and does a full calibration.

void NSAcqiris::Digitizer::acquisitionStarted (  )  [signal]

an acquisition was started

void NSAcqiris::Digitizer::acquisitionStopped (  )  [signal]

the acquisition stopped regularly

void NSAcqiris::Digitizer::acquisitionStoppedTimeout (  )  [signal]

the acquisition stopped because of a timeout

void NSAcqiris::Digitizer::forwardData ( NSCore::AcqisitionDataSet   )  [private, slot]

forward data converted by the converter-threads into the chain

QString NSAcqiris::Digitizer::debug (  )  const [private, virtual]

Custom debug text.

This function has to be implemented and has to return the internal debug-data that is to be printed...

Implements NSCore::QTreeItem.

QDomNode NSAcqiris::Digitizer::saveToXML ( QDomDocument  doc  )  [inline, private, virtual]

Store the information of this element into a new QDomElement.

This function is only to save the state of this element, all the recursive stuff will be done by toXml().

Parameters:
doc The QDomDocument to use for creation of the element

Implements NSCore::QTreeItem.

bool NSAcqiris::Digitizer::restoreFromXML ( QDomNode  node  )  [inline, private, virtual]

Restore the state of this element from the given QDomNode.

You don't have to do the recursive stuff here, that is handled in fromXml() for you. Only the things done in saveToXML need/can be restored here.

If you succeeded and want the childs to be restored too, return true.

Parameters:
node The QDomNode to restore from

Implements NSCore::QTreeItem.


Friends And Related Function Documentation

friend class Acqiris [friend]


Member Data Documentation

Variables.

Variables.

Referenced by config().

Variables.

Variables.

QTimer* NSAcqiris::Digitizer::_timer [private]

Variables.


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

Generated on Tue Apr 12 02:10:22 2011 for epos by  doxygen 1.5.5