LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble running LV8 application w/RTE

I am new to LV8.  I am trying to build an exe file from a VI that was created I believe with LV 6, and downloaded from the example code library.  When I build the application, it creates a folder with the exe file, an ini file and a .aliases file.  Also a subfolder named data, which contains lvdaq.dll.  When I try to run the application with the developement PC, I get an error message indicating that it cannot communicate with the DAQ board.  I believe that this indicates that the application has loaded properly, but since the PC does not actually have the DAQ board installed, it cannot run properly.  The second PC has the LV8 RTE installed as well as NI VISA 4.3.  It also does have the DAQ board installed.  When I try to run the application with this PC, I get an "endless" string of eror messages.  The first message is:
"The ordinal 2011 could not be located in the dynamic link library nidaq32.dll"
This seems odd, because I cannot see where this dll is referenced anywhere in the VI or sub VIs.  The second error is:
"lvdaq.dll is not a valid labview file."
The lvdaq.dll file located in the data folder is the same size and date as the file in the LV8 daq folder.  The second PC does have LV6.02 installed.  Is it possible that for some odd reason the LV8 RTE is trying to use the version of lvdaq in the LV6 directory?
Jim

LV 2020
0 Kudos
Message 1 of 3
(2,636 Views)
You say you installed NI-VISA but did you also install NI-DAQ? When you installed the DAQ board, you should have installed the driver that came with it. The contents of the data folder is not enough. You can then use MAX to test the board. Since you converted the VI from LabVIEW 6, unless you rewrote the DAQ portion, you need the traditional DAQ driver and not DAQmx.
0 Kudos
Message 2 of 3
(2,629 Views)
The new PC has NI-DAQ 6.8 installed.  I am trying to solve the problem that I posted in this thread: http://forums.ni.com/ni/board/message?board.id=170&thread.id=286721
 
The VI runs under LV6 on this PC until I get the error message, which can take 20 minutes or so.  I am grasping at straws in the hope that there is something in LV8 that will prevent the underrun/overrun problem that I am experiencing with LV6.02.
Jim

LV 2020
0 Kudos
Message 3 of 3
(2,618 Views)