#include <acqiris.h>
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 |
NSAcqiris::Digitizer::Digitizer | ( | quint32 | , | |
Acqiris * | , | |||
QString | ||||
) | [private] |
Inits the digitizer.
NSAcqiris::Digitizer::~Digitizer | ( | ) | [private] |
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] |
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().
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.
node | The QDomNode to restore from |
Implements NSCore::QTreeItem.
friend class Acqiris [friend] |
quint32 NSAcqiris::Digitizer::_instrumentID [private] |
Variables.
DigitizerThread* NSAcqiris::Digitizer::_acqthread [private] |
Variables.
QList<ConverterThread*> NSAcqiris::Digitizer::_converters [private] |
Variables.
QTimer* NSAcqiris::Digitizer::_timer [private] |
Variables.