1 #ifndef QXRDNIDAQPLUGININTERFACE_H
2 #define QXRDNIDAQPLUGININTERFACE_H
6 #include <QSharedPointer>
18 virtual void setAnalogWaveform(QString chan,
double rate,
double wfm[],
int size) = 0;
23 virtual QString
deviceType(QString device) = 0;
42 QVector<double> minVals,
43 QVector<double> maxVals) = 0;
50 #define QxrdNIDAQPluginInterface_iid "gov.anl.aps.cep.Qxrd.NIDAQInterface/1.0"
53 #endif // QXRDNIDAQPLUGININTERFACE_H
virtual QStringList deviceCIChannels(QString device)=0
virtual QStringList deviceCOChannels(QString device)=0
virtual QString deviceType(QString device)=0
virtual void setAnalogWaveform(QString chan, double rate, double wfm[], int size)=0
virtual QStringList deviceAOChannels(QString device)=0
virtual QStringList deviceDOLines(QString port)=0
virtual void setAnalogOutput(QString channelName, double value)=0
virtual void pulseOutput()=0
virtual int prepareContinuousInput(double sampleRate, double acquireDelay, double exposureTime, QStringList chans, QVector< double > minVals, QVector< double > maxVals)=0
virtual void finishContinuousInput()=0
#define QxrdNIDAQPluginInterface_iid
virtual int deviceIsSimulated(QString device)=0
virtual void setErrorOutput(QObject *errors)=0
virtual double getAnalogInput(QString channelName)=0
virtual int countContinuousInput()=0
virtual QStringList deviceDIPorts(QString device)=0
virtual QStringList deviceNames()=0
virtual QStringList deviceDOPorts(QString device)=0
virtual QStringList deviceAIChannels(QString device)=0
virtual void triggerAnalogWaveform()=0
virtual QStringList deviceDILines(QString port)=0
virtual ~QxrdNIDAQPluginInterface()
virtual int readContinuousInput()=0
virtual QVector< double > readContinuousInputChannel(int ch)=0