14 #include "pulserdrivernidaq.h"
16 #include "interface.h"
18 REGISTER_TYPE(
XDriverList, NIDAQAODOPulser,
"NMR pulser NI-DAQ analog/digital output");
19 REGISTER_TYPE(
XDriverList, NIDAQDOPulser,
"NMR pulser NI-DAQ digital output only");
20 REGISTER_TYPE(
XDriverList, NIDAQMSeriesWithSSeriesPulser,
"NMR pulser NI-DAQ M Series with S Series");
22 XNIDAQMSeriesWithSSeriesPulser::XNIDAQMSeriesWithSSeriesPulser(
const char *name,
bool runtime,
23 Transaction &tr_meas,
const shared_ptr<XMeasure> &meas) :
26 dynamic_pointer_cast<
XDriver>(this->shared_from_this()))) {
27 meas->interfaces()->
insert(tr_meas, m_ao_interface);
28 m_ao_interface->control()->setUIEnabled(
false);
44 if(
XString(interface()->productSeries()) !=
"M")
48 if(!intfAO()->isOpened())
51 if(
XString(intfAO()->productSeries()) !=
"S")