QXRD
0.11.16
|
#include <qxrdsynchronizedacquisition.h>
Public Slots | |
void | setManualOutput () |
void | triggerOnce () |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const |
virtual void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
QxrdSynchronizedAcquisition (QcepSettingsSaverWPtr saver, QxrdAcquisitionWPtr acq) | |
virtual | ~QxrdSynchronizedAcquisition () |
void | prepareForAcquisition (QxrdAcquisitionParameterPackWPtr parms) |
void | prepareForDarkAcquisition (QxrdDarkAcquisitionParameterPackWPtr parms) |
void | finishedAcquisition () |
void | acquiredFrameAvailable (int currentPhase) |
void | setNIDAQPlugin (QxrdNIDAQPluginInterfaceWPtr nidaqPlugin) |
QxrdNIDAQPluginInterfaceWPtr | nidaqPlugin () const |
QVector< double > | outputTimes () |
QVector< double > | outputVoltage () |
QxrdAcquisitionParameterPackWPtr | parms () |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
QString | get_Name () const |
void | set_Name (QString name) |
Properties | |
int | syncAcquisitionMode |
int | syncAcquisitionWaveform |
QString | syncAcquisitionOutputDevice |
QString | syncAcquisitionOutputChannel |
double | syncAcquisitionMinimum |
double | syncAcquisitionMaximum |
double | syncAcquisitionSymmetry |
double | syncAcquisitionPhaseShift |
double | syncAcquisitionManualValue |
Properties inherited from QcepObject | |
QString | name |
Private Attributes | |
QMutex | m_Mutex |
QxrdAcquisitionWPtr | m_Acquisition |
QxrdAcquisitionParameterPackWPtr | m_AcquisitionParms |
QxrdNIDAQPluginInterfaceWPtr | m_NIDAQPlugin |
int | m_SyncMode |
QVector< double > | m_OutputTimes |
QVector< double > | m_OutputVoltage |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Definition at line 15 of file qxrdsynchronizedacquisition.h.
anonymous enum |
Enumerator | |
---|---|
SyncAcquisitionModeNone | |
SyncAcquisitionModeStepped | |
SyncAcquisitionModeContinuous |
Definition at line 26 of file qxrdsynchronizedacquisition.h.
anonymous enum |
Enumerator | |
---|---|
SyncAcquisitionWaveformSquare | |
SyncAcquisitionWaveformSine | |
SyncAcquisitionWaveformTriangle | |
SyncAcquisitionWaveformSawtooth | |
SyncAcquisitionWaveformBipolarTriangle |
Definition at line 35 of file qxrdsynchronizedacquisition.h.
|
explicit |
Definition at line 9 of file qxrdsynchronizedacquisition.cpp.
|
virtual |
Definition at line 27 of file qxrdsynchronizedacquisition.cpp.
void QxrdSynchronizedAcquisition::acquiredFrameAvailable | ( | int | currentPhase | ) |
Definition at line 188 of file qxrdsynchronizedacquisition.cpp.
References m_Acquisition, m_AcquisitionParms, m_NIDAQPlugin, m_SyncMode, and parms().
void QxrdSynchronizedAcquisition::finishedAcquisition | ( | ) |
Definition at line 49 of file qxrdsynchronizedacquisition.cpp.
References m_AcquisitionParms, and m_SyncMode.
QxrdNIDAQPluginInterfaceWPtr QxrdSynchronizedAcquisition::nidaqPlugin | ( | ) | const |
Definition at line 39 of file qxrdsynchronizedacquisition.cpp.
References m_NIDAQPlugin.
Referenced by setNIDAQPlugin().
QVector< double > QxrdSynchronizedAcquisition::outputTimes | ( | ) |
Definition at line 257 of file qxrdsynchronizedacquisition.cpp.
References m_Mutex, and m_OutputTimes.
Referenced by prepareForAcquisition().
QVector< double > QxrdSynchronizedAcquisition::outputVoltage | ( | ) |
Definition at line 264 of file qxrdsynchronizedacquisition.cpp.
References m_Mutex, and m_OutputVoltage.
Referenced by prepareForAcquisition().
QxrdAcquisitionParameterPackWPtr QxrdSynchronizedAcquisition::parms | ( | ) |
Definition at line 44 of file qxrdsynchronizedacquisition.cpp.
References m_AcquisitionParms.
Referenced by acquiredFrameAvailable(), prepareForAcquisition(), and triggerOnce().
void QxrdSynchronizedAcquisition::prepareForAcquisition | ( | QxrdAcquisitionParameterPackWPtr | parms | ) |
nsummed
Definition at line 60 of file qxrdsynchronizedacquisition.cpp.
References m_AcquisitionParms, m_Mutex, m_NIDAQPlugin, m_OutputTimes, m_OutputVoltage, m_SyncMode, outputTimes(), outputVoltage(), parms(), SyncAcquisitionWaveformBipolarTriangle, SyncAcquisitionWaveformSawtooth, SyncAcquisitionWaveformSine, SyncAcquisitionWaveformSquare, and SyncAcquisitionWaveformTriangle.
Referenced by triggerOnce().
void QxrdSynchronizedAcquisition::prepareForDarkAcquisition | ( | QxrdDarkAcquisitionParameterPackWPtr | parms | ) |
|
slot |
Definition at line 229 of file qxrdsynchronizedacquisition.cpp.
References m_Acquisition, and m_NIDAQPlugin.
Referenced by QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog().
void QxrdSynchronizedAcquisition::setNIDAQPlugin | ( | QxrdNIDAQPluginInterfaceWPtr | nidaqPlugin | ) |
Definition at line 34 of file qxrdsynchronizedacquisition.cpp.
References m_NIDAQPlugin, and nidaqPlugin().
|
slot |
Definition at line 245 of file qxrdsynchronizedacquisition.cpp.
References m_Acquisition, m_AcquisitionParms, m_NIDAQPlugin, parms(), and prepareForAcquisition().
Referenced by QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog().
|
private |
Definition at line 88 of file qxrdsynchronizedacquisition.h.
Referenced by acquiredFrameAvailable(), setManualOutput(), and triggerOnce().
|
private |
Definition at line 89 of file qxrdsynchronizedacquisition.h.
Referenced by acquiredFrameAvailable(), finishedAcquisition(), parms(), prepareForAcquisition(), and triggerOnce().
|
mutableprivate |
Definition at line 87 of file qxrdsynchronizedacquisition.h.
Referenced by outputTimes(), outputVoltage(), and prepareForAcquisition().
|
private |
Definition at line 90 of file qxrdsynchronizedacquisition.h.
Referenced by acquiredFrameAvailable(), nidaqPlugin(), prepareForAcquisition(), setManualOutput(), setNIDAQPlugin(), and triggerOnce().
|
private |
Definition at line 92 of file qxrdsynchronizedacquisition.h.
Referenced by outputTimes(), and prepareForAcquisition().
|
private |
Definition at line 93 of file qxrdsynchronizedacquisition.h.
Referenced by outputVoltage(), and prepareForAcquisition().
|
private |
Definition at line 91 of file qxrdsynchronizedacquisition.h.
Referenced by acquiredFrameAvailable(), finishedAcquisition(), prepareForAcquisition(), and prepareForDarkAcquisition().
|
readwrite |
Definition at line 64 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 55 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 52 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 23 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 46 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 43 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 61 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 58 of file qxrdsynchronizedacquisition.h.
|
readwrite |
Definition at line 32 of file qxrdsynchronizedacquisition.h.