LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with executable

I have a problem with the executable I'm trying to create. Well actually I created the executable and I've run on another computer. To say, that I`ve developed a SCADA with the DSC module and the computer where I'm testing I have installed the DSC run time system.


The development computer has Windows XP  and computer where I have the run time system has windows 7.


I tried the test executable computer and everything works properly unless the data record in the Citadel database and therefore fails  also graphing data.


On The development computer I created 10 databases one for each machine that I control and all perfectly recorded and these data are then used to draw graphs. What I want is, that these same databases copied to the new computer, or create new ones with the same name and location on the new computer, In the way, to save data and can be used after.


I can't identify the problem and for this I need your help! Appreciate any information regarding the management of databases at run time.

What Would Ideal: create the same data bases in the new computer and it will start to save in these directly when you  run the program ...

How  Can I do this? is it possible?


Thank you in advance.


0 Kudos
Message 1 of 3
(2,379 Views)

Are you creating 10 different databases or 10 different tables within 1 database ?

 

Better way to create the table dynamically. First check that table exits or not if not then create by name data_machineno.

 

Always make a practice that database is present on the same path of your execuatable file so that you dont need to use absolute path as you can use relative path.

 

 

Let me know if you need any explanation

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 3
(2,369 Views)

Hello Ranjeet Singh:

 

Thank you very much for trying to help to me. Sorry, but is the first executable I create, and so I have some doubts.

 

What I want is, to create  10 databases in my development computer and then copy this databases to the deployment computer; that the executable point to this direction, and start logging data there when the EXE is runed.

 I don't understand how can I setup the library or process to point to a relative database path. I tried to set up it dynamically with a start up VI, running it at the end of installation, but, after this, when I run the application EXE, the value of the database path returns to the firstly configured in the properties-> DSC settings: database dialog box, for each process in the deployment computer. 

 

I need your help! As I said before, im not expert in this subject, so I´d appreciate so much if you can explain me step by step how to do this.

 

if you need more information reply this post asking me.

 

Thak you very very very much! I hope that you can help me!

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