LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program OK -(Run time doesn't work logging a DAQ6016) Error # 200478

I created a program that logs data from a USB-DAQPad-6016. Program runs fine using labview full version.  The run time version runs but I don't get an data from DAQ-6016. It reports error [200478- DAQmx read (Analog 2D DBL NChan NSamp).vI: 1<append><B> Task Name</unnamedTask<0>]. I can get data from DAQ6016 when using Measurement and Automation Explorer.  When I created the run time I added these installers (NI-DAQmx 8.6)(NI-VISA Configuration support 4.2)(NI VISA Runtime 4.2)(NI runtime engine 8.5). Any clue?
0 Kudos
Message 1 of 3
(3,250 Views)
Did you create some tasks in MAX or did you do everything in your program? If you created a task in MAX and are calling that in your program, you need to export the task and then import it to a new pc. You have to first go to the Hardware Configuration page and select the 'Include hardware configuration from MAX' checkbox and then click the 'Configure' button to run the export wizard. Select the import mode that you want.
0 Kudos
Message 2 of 3
(3,235 Views)

That was it my task box had (Dev2/a0). Which worked on the development computer but the target computer didn't have 2 DAQ devices so on that computer it should have been (Dev1/a0).

Thanks for your help

0 Kudos
Message 3 of 3
(3,232 Views)