From HFML-FELIX Wiki
If this happens with an executable but not from the development system, then the NIDaqMX tasks may be missing in MAX.
I resolved this problem by importing to MAX the project maintained file: Build\Data\NI-DAQmx.ini.