1 #ifndef QXRDNIDAQPLUGIN_H
2 #define QXRDNIDAQPLUGIN_H
16 #if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
37 double count(
int chan,
double time);
62 QVector<double> minVals,
63 QVector<double> maxVals);
72 void errorCheck(
const char* file,
int line,
int err);
102 #endif // QXRDNIDAQPLUGIN_H
int configCounters(QStringList chans)
void setAnalogOutput(int chan, double val)
void triggerAnalogWaveform()
double count(int chan, double time)
double getAnalogInput(int chan)
QStringList deviceDOPorts(QString device)
QVector< double > m_Counts
QVector< double > readCounters()
TaskHandle m_ContinuousAITask
virtual void finishContinuousInput()
#define QxrdNIDAQPluginInterface_iid
virtual int countContinuousInput()
QStringList deviceDIPorts(QString device)
virtual int readContinuousInput()
TaskHandle m_AITaskHandle
void errorCheck(const char *file, int line, int err)
virtual ~QxrdNIDAQPlugin()
QVector< QVector< double > > m_ContinuousInputData
QStringList deviceCOChannels(QString device)
QVector< TaskHandle > m_ContinuousCITasks
TaskHandle m_AOTaskHandle
virtual void setErrorOutput(QObject *errors)
QStringList deviceAOChannels(QString device)
TaskHandle m_CountersTask
QString deviceType(QString device)
virtual int prepareContinuousInput(double sampleRate, double acquireDelay, double exposureTime, QStringList chans, QVector< double > minVals, QVector< double > maxVals)
QStringList deviceDILines(QString port)
QStringList deviceAIChannels(QString device)
QVector< int > m_ContinuousChans
void setAnalogWaveform(QString chan, double rate, double wfm[], int size)
QStringList deviceDOLines(QString port)
int deviceIsSimulated(QString device)
QVector< int > m_ContinuousFlags
virtual QVector< double > readContinuousInputChannel(int ch)
QStringList deviceCIChannels(QString device)
void printMessage(QString msg)
QStringList deviceNames()