LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-6008 build problem

http://forums.lavausergroup.org/index.php?showtopic=2120&hl=NI-6008 - here is the description of my problem. Unfortunately no-one was able to help me. I hope here I can find some solutions. Thanks
 
decyL
0 Kudos
Message 1 of 3
(2,580 Views)
Just as a quick check, are you using DaqmxBase or Daqmx on the firmware for the USB6008.  The 6008 now uses DAQmx but I see that your drivers in the VI are for DAQmxBase.  This may not be the case since you said that it works in the VI but not in the exe.

Is the exe run on a seperate computer or on the same computer that the VI is run on?  If it is running on a different computer, make sure you have the correc tdrivers installed and that there is not a device conflict (check in MAX that the 6008 is not actually named Dev2 when you ahve named it Dev1 in your program.)  Also, can you post the actual error you are getting for both, that would really help the debugging process.

I couldnt find the init AI vi (it appears that it is coming from some Philips_LED.lib file from your computer) or the error_comm.vi, so I could not actually run the VI.  But I would try adding the create task and create channel VIs to your VI and see if that helps matters at all (see attached error.vi)

As far as the pulse measurement VI, I would make sure that you have all of the controls "getting a value" if you are using it as a sub vi, ie make sure each input actually is getting an input (you can check using the light bulb button on the block diagram).

Post your results if you need more assistance.

Kenny
Kenny

0 Kudos
Message 2 of 3
(2,573 Views)

It works as a VI. It does not work after build. Both VI and EXE are on the same PC. Nothing is changed. EXE runs, but when something with this Analog  Input Channel must be performed, error occurs after the subVI. I will check the exact number of error and send you when I have the access to that PC.

Bye for now

decyL

0 Kudos
Message 3 of 3
(2,558 Views)