Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

unrecognized usb9215A executable labview

Hello,

 

I am using a USB9215A and its carrier to do a simple data acquisition. I have tested the software and runs fine. When I try to run this program I did in Labview 8.6, I get no readings from the board. I have already installed the NI DAQmx, NI DAQmx Base 3.2 and the Runtime Engine. I get readings using the Measurement and Automation software but with mine I  do not get anything. I have checked what I have installed in both computers and both have the same. Do I missing something? The installation has to be in a particular order?

 

Thanks in advance for your help!

 

JD

0 Kudos
Message 1 of 6
(3,643 Views)

Hi JD,

 

Just to clarify, were you able to run the program you wrote in LabVIEW as a VI on the original machine? Is it now just not working on another machine in executable form? Is the executable running and just not returning any data, or is there an error or anything else that is happening when you try and run it to where it isn't even able to run? What version of each software did you install on the machines, and in what order (ie - NI-DAQmx versions, LabVIEW Runtime version, etc.). You mentioned DAQmx and DAQmx Base, which of these drivers are you using in your code that isn't working? Can you possibly attach your VI or executable so I can take a quick look and possibly try it out? The fact that you can get everything to work properly in Measurement & Automation Explorer would seem to indicate that the driver is installed properly, so there may be some issue with the actual code itself (perhaps how it references the device or something). I look forward to hearing back from you soon!
Daniel S.
National Instruments
0 Kudos
Message 2 of 6
(3,626 Views)

Daniel, thank you for your reply.

 

In compuer A I have installed Labview and the program runs fine.

In computer B someone installed previously NI DAQmx, I installed Runtime Engine; and the program runs fine.

In computer C, D ... I have installed Ni DAQmx and runtime engine and the program runs but does NOT get any reading. I have a graphic display and nothing is shown. I write to a file and write nothing. All the computers have the same OS, memory, etc. I have tried to install in different order but I get the same result.

 

I have attached the vi in case it helps but I guess it is something related to a driver, dll or something missing in the installation.

 

Thanks again!

0 Kudos
Message 3 of 6
(3,622 Views)

Hi JD,

 

I see that you are using a DAQ Assistant in your program. It may be possible that this is referencing the wrong device number and that it may be throwing an error which is not handled. You mentioned that nothing is written to file, but is the file even being created? The File I/O functions are independent of the DAQmx driver and so if this part of the program is not working, it may indicate something wrong with the executable or runtime engine. I would suggest maybe trying to take a DAQmx example program from LabVIEW (Help»Find Examples) and making it into an executable to see if this works on the machine. You may also want to just create a simple LabVIEW program which doesn't use any DAQmx functions to see if it runs as well (maybe just create random numbers, chart these on the front panel, and write them to a file as well). Please let me know what you find out when attempting any of the above suggestions. Thanks, and I look forward to hearing back soon!

Daniel S.
National Instruments
0 Kudos
Message 4 of 6
(3,605 Views)

Daniel, thanks again for your reply.

 

DAQ Assistant is referencing to the correct device and port, as the software works perfectly in other PCs.

 

When the program is unable to read from the DAQ, it creates the file but this is empty as there was no readings.

 

I have a similar program that generates random number (instead of reading from the DAQ), and works perfectly.

 

The software that has problems works fine, it gets the time enlapsed, and other function. The only problem is that it is unable to get data from the DAQ. I guess that a library or extra software is missing. Any ideas?

 

Cheers!

 

 

0 Kudos
Message 5 of 6
(3,595 Views)

Hi JD,

 

Which version of the NI-DAQmx driver are you using, and which version of the LabVIEW Runtime engine? I am glad to see that you have narrowed the problem down to the actual DAQmx functions since everything else is working fine. I am still concerned that an error might be occurring in the DAQ Assistant that we are not seeing since the error out terminal is not wired to anything. If an indicator or error handler was wired to this output, it may help to show us if an error is occurring. Additionally, if you can reproduce the problem with a DAQmx shipping example, then we can know for sure if something is wrong with the install of the DAQmx driver. If this is the case, then I would suggest repairing the driver before attempting a complete reinstall. Please let me know what you find out. Thanks!

Daniel S.
National Instruments
0 Kudos
Message 6 of 6
(3,584 Views)