12-29-2010 10:25 AM
My problem seems like one that has been encountered before, but with no good answers on the NI documents or forums. When trying to run a VI that deploys shared variables, I keep getting an error that the shared variable engine cannot be found. This seems to be almost random, because I was able to deploy shared variables perfectly fine. It might have been when I restarted my computer that this problem started to occur.
I've tried disabling the firewall, that had no effect. LabVIEW 2009 reports the following when I try to run my VI:
"LabVIEW: (Hex 0x8BBB0005) Unable to locate variable in the Shared Variable Engine. Deployment of this variable may have failed.
This error or warning occurred while writing the following Shared Variable:
\\.\fake_data\flow_sh
\\.\fake_data\flow_sh"
I'll include all pertinent files so that you can see exactly what I'm doing. The purpose of the fake_data program is just to practice using shared variables, very simple. Thanks for any insight you can offer!
Solved! Go to Solution.
12-29-2010 11:27 AM - edited 12-29-2010 11:36 AM
my shared variables are working again, I just opened up cmd.exe and typed:
net stop "national instruments variable engine"
followed by
net start "national instruments variable engine"
12-29-2010 11:29 AM
Is it possible you meant "net start ..." for the second command?
12-29-2010 11:36 AM
Yep! it's been edited!
10-25-2018 11:52 AM
Hey GregoryJ,
Thanks for your suggestion. I had very similar issue. I fixed it by resting the database and using your methods. I did had to run cmd.exe in administrator mode to execute your commands.
Refer to Angela L. comments
I did had to alter your commands little but that was simple enough.
net stop "NI variable engine"
followed by
net start "NI variable engine"
Thanks
10-25-2018 01:38 PM
I also found error messages (4) on Windows Event Viewer (Windows Logs/Application). They were continuously accumulating in the Event Viewer until I reset the database and restart the variable engine.
Error 1
Log Name: Application
Source: NI Configuration Manager
Description: CmxsNeoStorage::RestoreBackup - Attempting to restore MXS database using a backup.
Error 2
Log Name: Application
Source: NI Configuration Manager
Description: CmxsNeoStorage::Open2 - MXS initialization interrupted - An MXS init file found meaning the last MXS initialization may not have completed.
Error 3
Log Name: Application
Source: NI Configuration Manager
Description: Opening configuration database.
Error 4
Log Name: Application
Source: NI Configuration Manager
Description: Failed to open configuration database: Error Code = 0x8004032A