mdsplus
mdsplus copied to clipboard
Add Tag with LabVIEW
Is there a way to add tags to nodes using LabVIEW? There are the 'tree find tags.vi' and 'tree remove tag.vi' in the LabVIEW library, but I couldn't find a way to add tags to nodes.
I do not think the Labview API supports any Tree Editing operations of which add_tag is one. In general you should not be editing the tree in the course of day to day operations. Tree edits should be done on the model, or well after the fact to ammend previous shots. This is because they require exclusive access to the tree.
Where are you from/working? Feel free to join the MDSplus discord:
https://discord.gg/4gt6RbhHDm https://discord.gg/4gt6RbhHDm
-Josh
On Mar 17, 2022, at 1:00 PM, G. Ronchi @.***> wrote:
Is there a way to add tags to nodes using LabVIEW? There are the 'tree find tags.vi' and 'tree remove tag.vi' in the LabVIEW library, but I couldn't find a way to add tags to nodes.
— Reply to this email directly, view it on GitHub https://github.com/MDSplus/mdsplus/issues/2455, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY5AZJGVIRQDKRB2I5TNLLVANQJ7ANCNFSM5Q7N7AZA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.
It actually supports tree editing: you can build an entire tree with substructures and nodes from scratch in LabVIEW by using "Tree Create (Mode)", "Tree Add Node" and "Tree Set Default". But I totally agree that it's better to use a prebuilt model tree during operations instead of creating it on the fly in LabVIEW.
Please use other tools for tree edititng
In general, you do not want to edit the trees on the fly in a multiuser environment