05-26-2021 12:09 PM
Hi!
I'm not sure what is going on with my environment but at some point was getting my Accessors (using the automatic creation wizard) placed into a folder named as the parameter being accessed, with a black wrench overlay on the virtual folder. The black wrench overlays also are present, though not anymore, at the VI. Nowadays, they get created with no folder (unless I call for it by name) but then no group folder "Accessors" can be selected as well. The wrench isn't tied to access scope, that only adds or removes keys on the folder. It's also not tied to dynamic or static dispatch (apparently as both are dynamic).
Does anyone know what the black wrench indicates and how I can add or remove them?
I've attached an image of what I used to get and now get VISA_DVR accessors are newer:
Solved! Go to Solution.
05-26-2021 12:59 PM
There are two options available when automatically creating accessors, available via the property node or not. If you choose the "make available through proerty nodes", you will automatically get the folder with the black wrench. If you disable this option, the VIs are simply created in whatever folder you specify. I suspect that you have changed your selection for the property node access. If I recall, LabVIEW will remember your last choice.
05-26-2021 06:00 PM
Thanks very much for that answer. I think I changed my mind about wanting the accessors available through property nodes or not. It had been a while since I did the earlier ones so I forgot I was doing that. It would sure be nice if this was made obvious (and changeable) in a right-click menu or something similar.
05-27-2021 10:21 AM
You can change it yourself without having to re-create the accessors. Right-click on your class (or a virtual folder in your class) and choose New > Property Definition Folder. Name it whatever you want the property name to be, then drag your previously-created accessors into that folder. Now you can access that member data with a property node.
05-27-2021 01:30 PM
@Darren wrote:
You can change it yourself without having to re-create the accessors. Right-click on your class (or a virtual folder in your class) and choose New > Property Definition Folder. Name it whatever you want the property name to be, then drag your previously-created accessors into that folder. Now you can access that member data with a property node.
Thanks! That's a very useful tip.
05-27-2021 01:36 PM
@Darren wrote:
You can change it yourself without having to re-create the accessors. Right-click on your class (or a virtual folder in your class) and choose New > Property Definition Folder. Name it whatever you want the property name to be, then drag your previously-created accessors into that folder. Now you can access that member data with a property node.
And you can do this to regular VI's too... they don't even have to be accessors! Basically a way you can make pseudo-invoke nodes 🙂
05-28-2021 11:18 AM
@BertMcMahan wrote:
@Darren wrote:
You can change it yourself without having to re-create the accessors. Right-click on your class (or a virtual folder in your class) and choose New > Property Definition Folder. Name it whatever you want the property name to be, then drag your previously-created accessors into that folder. Now you can access that member data with a property node.
And you can do this to regular VI's too... they don't even have to be accessors! Basically a way you can make pseudo-invoke nodes 🙂
Thanks for that excellent tip!