LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building application with DAQ assistant, not working on second PC

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.

0 Kudos
Message 1 of 2
(1,203 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,159 Views)