LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to the Windows Registry

Having attempted to hijack a related thread (sorry) I am starting my own regarding my attempts to write to the windows registry. As I ask in the link referenced, does anyone have any suggestions regarding what I may be doing incorrectly? I'm not sure how to construct a path that reaches that deeply into the registry structure.

 

Putnam

 

 

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 1 of 3
(2,753 Views)

Can you post some code snippet so we can look for the mistake?

Some blind guesses: 

To be less nervously playing, you could just try to read the key at first (use the permission KEY_READ).

The Value you want to obtain is IFProtocol, this is not part of the key.

You won't be able to write the key if you're not admin. Users can only write in there own profile at HKEY_USERS. Makes sense as this is hardware related...

 

Felix

Message 2 of 3
(2,742 Views)

Good Evening,

   It turns out that the problem lay in the permissions for the applicable key "path". I did discover that by clicking on the key in regedit you can also copy this "path" so there isn't any mistake in entering long collection key paths.

 

P

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 3
(2,711 Views)