Solution
Check that the NI Services related with the variables are properly running. To verify the status of the services, go to Control Panel >> Administrative Tools >> Services.
NI PSP Service Locator and NI Variable Engine should be running. If they are not, start the services by selecting them and clicking Start on the top left of the Services Window.