LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx drivers needed to calculate statistics in a standalone application ?

Hi!

 

My standalone application analyzes measured data and saves statistics into Access database. It uses Statistics express VI, among the others. It does not use any data acquisition library. I've made an installer to install it on my customer's computer. After installation I tried to run the application but an error occured (see below).

  

error message

 

  Well, it works now (after few hours). But my opinion is that my solution is a little bit strange: I simply installed DAQmx drivers.

 

1. Is this a bug ?

 

2. How to explain my customer why does he need 1GB of hardware drivers ?

 

Fortunately, It was not necessary to use any special procedure tu run Database Connectivity Toolset: see this link, for example

 

Best regards ,

 

Ljubo.

 

P.S.: Developer Suite 8.6, Win XP Pro, DAQmx 8.8, MS Office 2003.

0 Kudos
Message 1 of 13
(4,256 Views)
Could you just attach the image instead of trying to use some off-beat hosting service. I, for one, can't see the error.
0 Kudos
Message 2 of 13
(4,236 Views)

Hi !

 

The image is attached now. 

 

 

Ljubo.

0 Kudos
Message 3 of 13
(4,231 Views)
It sounds like you took a shortcut and did not create an installer. That would have installed the lvanlys.dll in the data folder. This is a common mistake that beginners make.
0 Kudos
Message 4 of 13
(4,227 Views)

Hi, Dennis!

 

What do you mean by "a shortcut" ? Do you mean I copied exe file to another computer and create a shortcut to exe ? The answer is no. I created an installer.

0 Kudos
Message 5 of 13
(4,223 Views)
By shortcut, I meant that just copied the exe over to another pc. Since you did create an installer, check the installer properties to see if the data folder is included and check the pc to see if it actually got installed.
0 Kudos
Message 6 of 13
(4,219 Views)

Checked!

 

See attachment, please.

 

But today I cannot check the customer's computer. I 'm going to check it tommorow.

 

 

0 Kudos
Message 7 of 13
(4,214 Views)

Hi Dennis,

 

let me repeat the whole story once again:

 

About two years ago the same problem occured (with LabView 7.0 or 8.0, I don't know exactly). Our local NI representative happened to be present and we discussed the problem but we didn't find the solution. Instead of using Statistics Express VI I made my own subVIs and the problem was solved (and forgotten).

 

I've already checked my customer's computer this morning and everything seems to be OK. DLL library lvanlys.dll is installed in "data" folder. 

 

To eliminate unnecessary details I've created a new project (see the attachment, please).

I installed the program on my colleague's PC (my colleague never used LabView in his life). The result is the same. You can see the error report in the second attachement.

Then I've copied lvanlys.dll file to all folders where programs usually search libraries: Windows, Windows\system, Windows\system32 and Program Files\Mean4V. But program can't find the library NI_AALBase.lvlib.

 

Obviously, installation of DAQmx drivers adds something which is missing in my build specification. I hope someone could explain what I'm doing wrong.

 

With best regards, 

 

Ljubo.

Download All
0 Kudos
Message 8 of 13
(4,169 Views)

Does anyone have a solution for this?  I think I have a similar, if not the same problem.  I have LV 2010 on the target computer and have modified a library in LV 2012.  I have tried creating an executable and copying to the target computer and saving a project with the library for LV 2010.  Either way LV 2010 on the target PC cannot find the NI_AALbase in the LabVIEW 2012\vi.lib directory.  I have looked for the library and it is not there!  What gives?  I tried re-installing LV 2010 on the target computer but I still have the same problem.

 

Any help would be greatly appreciated.

 

Thanks!

 

 

0 Kudos
Message 9 of 13
(3,458 Views)

Hello Siexto,

 

As this thread is four years old, you'll likely have better luck getting responses if you start a a new one.

 

That being said, it sounds like you rebuilt 2010 source using LabVIEW 2012 and now need to move it back to the original target PC that has the 2010 run-time engine installed, is that correct? The 2010 RTE cannot be used to run executables built in 2012, and vice-versa.  Have you installed the 2012 RTE on the target PC?  Did you attempt creating an installer for your exe as recommended in this thread?

 

Regards,

Tom L.
0 Kudos
Message 10 of 13
(3,449 Views)