LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can not validate database settings programmatically

I have problems when setting up a shared variable process to log to an already existing database. This works fine on my development machine (Labview and DSC 2015) but not on a run-time installation. There the varibles in the second process will not be logged before i Validate the databse setting (every time I start the program) and choose : 'Use existing database for this project library'. I need to open up the NI distribution manager and select (right-click on teh process) 'edit process' to manually resolve the conflict.

Note that all variables are set-up in the vi so I do not have any shared variable libraru in the labview project.

I want to do this validation, also described in the link below, directly from the vi:

http://zone.ni.com/reference/en-XX/help/371618H-01/lvdsc/dsc_valid_db_namepath/

I can not find how to set these properties in any configuartion vi for eiher teh dSC databse or the variable processes.

 

Any suggestions?

 

Regards,

Mattias

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

Hi Mattias,


Is this issue happening when you are running the run-time application on the same machine as your dev environment?

 

Kind Regards,

 

Matt

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

Hi Matt,


Yes it does but funny enough now the main program needs to be manually accepted. I happened to install them in the reverse order and that seemed to have made a difference. It doesn't matter if I stop the programs and remove the processes from SVE it will be the last program installed that needs to manually accept to log to the database regardless of starting up sequence. The database has been used for the development programs with the same processes without any issues as I have seen.

After doing this I now have the same problem in the development environment, re-booting the PC did not work.

 

Thank you for the help,

 

Mattias

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