Even if you have NI-DAQmx installed, you might be facing a version mismatch. If you have a very old version of DAQmx on your PC, it might not recognize LabVIEW 2017 as a valid target. Conversely, the newest versions of DAQmx sometimes drop support for older IDEs.
Ensure you are using a compatible version of NI-DAQmx. Version is the highest version that supports LabVIEW 2017. nidaqmx driver support for labview 2017 is missing