07-18-2016 11:57 AM
I find it odd that this isn't obvious so I must be doing something wrong. Through LabVIEW Scripting and VI Server, how can I set a VI that is already in a library, to have an Access Scope of Private? I open the library, and can traverse the tree to get my ProjectItem, but I don't see a way of setting its scope. A quick search only finds ways of reading the access scope but I couldn't find a way of setting it. Thanks.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Solved! Go to Solution.
07-18-2016 12:04 PM - edited 07-18-2016 12:10 PM
Did you see this method already?
http://zone.ni.com/reference/en-XX/help/371361L-01/lvprop/library_setsourcescope/
Edit: Here is a VI Snippet
07-18-2016 12:21 PM - edited 07-18-2016 12:24 PM
Nope, thanks I knew I was just missing it. As I mentioned I was trying to get the item in the tree and set its scope when I should have looked at the actual library methods. It probably doesn't help that the function doesn't mention "Access Scope" either which might be why a search didn't turn up anything.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-15-2018 05:58 AM
Hi!
I want to set and propagate the access scope of a folder which is a part of a class and contains property definition folders. When I do this I get an error 1055 which suggests that one inpout reference is invalid, but they are valid (I checked the with Not A Number/Path/Refnum? VI, and also with probes.)
Setting the access scope works if I call it on project items which are not part of any class. Did you ever met this problem? I didn't find anything on web.
Thanks,
Barnabás
05-16-2018 05:59 PM
This thread is pretty old, you might get more traction on this if you make a new one.
That said, have you seen this: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L75SAE
Could be helpful.