-
Notifications
You must be signed in to change notification settings - Fork 2
Correct LV2010 registry
It appears that when LabVIEW 2010 is installed it does not regisiter itself correctly in the Windows Registry. This means that it ignores any DCOM settings applied to it via dcomcnfg (see note below); as a result, it uses the general default settings instead.
Note: dcomcnfg is the DCOM configuration tool which can be launched by typing "dcomcnfg" at the command prompt.
Without the correction to the Registry, connecting to the machine from a remote lvDCOM IOC starts a second instance of LabVIEW rather than connecting to the existing instance - this is NOT what is wanted.
-
Find the CLSID of LabVIEW - you can use dcomcnfg for this or search the registry.
-
Under
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID, find theLabVIEW.exeand copy theAppId -
Under
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{LabVIEW GUID from step 1}, add a string called!AppIdand set the value to theAppIdfrom above. -
Open dcomcnfg as Adminstrator, locate LabVIEW and click properties. Under Identity, set it to launching user then click OK.