LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable doesn't collect data (NI USB-6211) on second laptop.

Hi,
I've built an executable to collect data from a test setup. The executable runs on the compiler laptop and on the test setup laptop (via Labview runtime). However, on the test setup laptop the executable does not collect data from the NI USB-6211 data acquisition card. All the required software has been installed and on the test setup laptop I can acquire data via the test panel (tested on two different laptops). The signal is there and recognized, but not by the executable on another laptop than the compier laptop. Other executables (with other cards) showed no problems.
 
How should I start solving this problem?
Thanx so far!
0 Kudos
Message 1 of 5
(3,151 Views)

Have you hard-coded the device ID/ physical channel name in your executable?

Does the Device ID (in MAX) match on both the laptops ??

0 Kudos
Message 2 of 5
(3,137 Views)
Hi devchander,
 
I've checked the device name in MAX and they match for both computers. Furthermore all device details in the device manager in the control panel are equal (e.g. Device instance ID, Hardware ID, Compattible ID, Matching Device ID, etc.).
 
After wiring error indicators to the express vi (for the data collection) in my program I found:
 
error -200478
DAQmx Read (Analog 1D DBL NChan 1Samp).vi:1<append>
<B>Task Name: </B>_unnamedTask<0>
 
It seems to me like a designer problem, but why does this problem occur only on a second computer?
I recently started learning LV, so my skills are limited (yet).
0 Kudos
Message 3 of 5
(3,109 Views)

How are you addressing the channel??

Are you by any chance, using a DAQmx task or a DAQmx Global virtual channel??

Message 4 of 5
(3,103 Views)

With your leads I've built an example for collecting data without the express vi (DAQ assistent). I found out that the physical channel name indeed varied for both computers. With this I ran trough all your earlier advice and I found out that the device name (in MAX) was different (strange that I did not see this before). The name is fixed and  the program runs fine.

Thanx for your tips. Smiley Happy

0 Kudos
Message 5 of 5
(3,080 Views)