LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application builder with Data Base

Hello

I have made a application with the Data Base Connectivity Toolkit.
The application runs well in the developement. But after making a exe file i get the error that the data base is not present.
Did i make a error by the compilation?
Wich files has to be included?

I wonder that this will not work, because it runs on the same machine.

Anyone who can help?

Thanks
Gerhard
Hardy
0 Kudos
Message 1 of 5
(2,955 Views)
Hi Gerhard

This sounds like some paths were incorrect or any ODBC-Connections are not set up correctly.

About the files you have to include for compilation have a look at the user manual of the database connectivity toolset.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 5
(2,952 Views)
Many thanks.

That was the problem. I used the function actual path of the vi. reduced it by one and appended the config file where the info of the database is stored.
In general this function is bad, because it works not in the same way when running under developement or runtime.

Has anybody a general solution for this problem?


Thanks a lot.
Gerhard
Hardy
0 Kudos
Message 3 of 5
(2,948 Views)
I once made a simple vi, which gives back the path of the application running and the type.

There you can decide if you are in the development environment or in a compiled application.

Hope it helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 5
(2,946 Views)
Thanks again

I have to reprogramm it to LV 6.1 version.

Thanks a lot.

Gerhard
Hardy
0 Kudos
Message 5 of 5
(2,935 Views)