### Example XML Element for ActionVIOnDelete Source: https://github.com/ni/niveristand-custom-device-handbook/blob/main/docs/Custom_Device_Tips_and_Tricks.md This example shows an XML element that can be added to a custom device's XML to run a VI when the item is deleted from System Explorer. ```XML ``` -------------------------------- ### Toolbar Button XML Schema Source: https://github.com/ni/niveristand-custom-device-handbook/blob/main/docs/Custom_Device_Tips_and_Tricks.md An example XML schema framework for implementing a toolbar button in a custom device. ```XML ``` -------------------------------- ### Shortcut Menu XML Schema Source: https://github.com/ni/niveristand-custom-device-handbook/blob/main/docs/Custom_Device_Tips_and_Tricks.md An example XML schema framework for implementing a shortcut menu for an item in a custom device. ```XML MyCustomDevice.lvlib/MyMenuItemVI ``` -------------------------------- ### XML for Limiting Max Custom Device Occurrences Source: https://github.com/ni/niveristand-custom-device-handbook/blob/main/docs/Custom_Device_Tips_and_Tricks.md This XML snippet shows how to limit the number of instances of a custom device within a single System Definition by adding the MaxOccurrence tag. ```XML N ``` -------------------------------- ### XML for Delete Protection Source: https://github.com/ni/niveristand-custom-device-handbook/blob/main/docs/Custom_Device_Tips_and_Tricks.md This XML snippet demonstrates how to add delete protection to an item in the custom device XML, preventing users from deleting it from the System Explorer configuration tree. ```XML true ```