Not allowing a monitor when not running in duplex mode
This commit is contained in:
parent
28d540b667
commit
92f5b18481
@ -44,6 +44,9 @@ Daq::Daq(const DeviceInfo &devinfo, const DaqConfiguration &config)
|
|||||||
throw rte("Duplex mode enabled, but no output channels enabled");
|
throw rte("Duplex mode enabled, but no output channels enabled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!duplexMode() && monitorOutput) {
|
||||||
|
throw rte("Output monitoring only allowed when running in duplex mode");
|
||||||
|
}
|
||||||
|
|
||||||
if (!hasInternalOutputMonitor && monitorOutput) {
|
if (!hasInternalOutputMonitor && monitorOutput) {
|
||||||
throw rte(
|
throw rte(
|
||||||
|
Loading…
Reference in New Issue
Block a user