08-13-2015 07:32 AM
Hello all.
I am having trouble building an application that uses two vi's that use daqmx specifically NI cDAQ-9174 with NI 9041 collecting a voltage and displaying a digital signal.
I want the program to be able to run on any computer sans LabVIEW, just needing the USB connected. The program opens, and does not run in to errors, but it does not capture any data leading me to believe there is some issue with the daq device. How can i configure my build so that it can read the signal?
If you need any more info feel free to ask.
Neil
08-13-2015 07:44 AM
My guess is that you need to configure the device in MAX to match the name and other settings from your developement computer.
08-13-2015 08:10 AM
08-13-2015 08:22 AM
Good thought. Do I include that in the lvproj?
08-13-2015 08:32 AM
08-13-2015 08:32 AM
@Neil_Helsel wrote:
Good thought. Do I include that in the lvproj?
Yes. You can add DAQmx Tasks, devices, channels, etc to the project.
08-13-2015 08:39 AM
I never used the installer before, is that the same process as making an application? So just put MAX in the source files?
08-13-2015 08:43 AM
@Neil_Helsel wrote:
I never used the installer before, is that the same process as making an application? So just put MAX in the source files?
It is similar. The installer also goes into the Build Spec. It allows you to have files put in specific locations, create shortcuts, install required drivers, etc. One of the things you can put in the installer is a DAQmx configuration that you created from MAX.
08-13-2015 08:50 AM
Now how do I get one task out of MAX. I keep just adding the NIMax.exe
08-13-2015 09:42 AM
http://www.ni.com/tutorial/5406/en/