02-13-2018 06:51 AM
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
02-19-2018 04:14 AM
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
02-20-2018 09:41 AM
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