I'm using two PXIe-6738 cards on Linux and version 18.1.0.49155-0+f3 of the drivers.
I want some analogue outputs to be set to zero if there is a problem with the software. So I have created a watchdog task on PXI1Slot2. I can add digital lines to the watchdog task using DAQmxCfgWatchdogDOExpirStates() and that is working. But if I try to add e.g. PXI1Slot2/ao0 to the task with DAQmxCfgWatchdogAOExpirStates() then I get the following error:
DAQmxCfgWatchdogAOExpirStates(): -200170, Physical channel specified does not exist on this device.
Refer to the documentation for channels available on this device.
This is the first context where it says that PXI1Slot2/ao0 (etc.) does not exist. I can use this and the other AO channels just fine in DAQmxCreateAOVoltageChan(), so clearly the channel exists.
Where can the error be?