02-10-2021 03:00 PM
Hello, I could use a hint on where to go next with this issue. I have developed a LabVIEW application that relies on DAQ assistant to read an input from a USB DAQ device. It runs without any issues on my own laptop that I have developed the code on. However, when I build the application and place the EXE on the workstation, the DAQ does not read any data. The workstation has LabVIEW 2020 Runtime installed on it as well as NI-VISA drivers. I've checked in NI-MAX on the workstation and it can read from the DAQ in NI-MAX. The application has a control where I can put the name of the DAQ in, and the control is able to see the DAQ, so I know the name is correct.
I'm assuming it is caused by one of two issues. Either DAQ assistant does not work without some sort of license, or I am missing some sort of driver that my own laptop has. Or maybe it is something else entirely. Please let me know if you have any ideas I can try to get this resolved. Thanks.
02-11-2021 01:22 AM
Hi cneiregal,
@cneiregal wrote:
I have developed a LabVIEW application that relies on DAQ assistant…
I'm assuming it is caused by one of two issues. Either DAQ assistant does not work without some sort of license, or I am missing some sort of driver that my own laptop has. Or maybe it is something else entirely.
Suggestion: don't use the DAQAssistent for production-type executables!
Which device name does the DAQAssistent use to read the data? Does that workstation use the very same DAQ device name? (Even when the name is the very same the DAQAssistent may fail…)
So use plain DAQmx functions as is explained in all those example VIs coming with LabVIEW. They are easy to use and known to work when building executables!