12-02-2010 01:01 PM
I need to delete a dependency on my service and it is a REG_MULTI_SZ in the registry. How can I edit this?
12-02-2010 11:47 PM
Hi,
LabVIEW provides VI's to access the windows registry and these vi's can be found in Function Palette: Connectivity>>Windows Registry Access VIs.
Also take a look into the example vi: "C:\Program Files\National Instruments\LabVIEW 8.x\examples\registry\registry.llb\Read From Windows Registry.vi" which provides insight on accessing the registry.
12-03-2010 08:06 AM
I am aware of these VIs. I will take another look, but I investigated this pretty thoroughly a while back and editing the multi string was not possible. only numeric or string. Any other suggestions?
12-06-2010 10:31 AM
Hello,
Could the System Exec VI be used to query the key for it value, and read it back to LabVIEW through the normal output return? What type of data is returned to the command line when the REG_MULTI_SZ key is read?
Cheers,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments
12-06-2010 10:44 AM
That may work for the read, but how would I create the key and write to it if it does not exist?
12-06-2010 12:46 PM
You would first query the key, the standard output should return a known error for 'not found.' Then there are create/remove functions available through the REG command. There are a number of functions available, a quick search returned this discussion.
Please let me know if that gets us pointing in the right direction.
Cheers,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments