Solutions
...
Digital Twin Instance Manageme...
Delete Instance(s) from Digital Twin for multiple Litmus Edge
15 min
to delete instance(s) with litmus excel add ins, you should be familiar with how models work in digital twins docid\ cmsvdg3aaf7lcky2qlyax on litmus edge as well as the consequences before you begin you have installed the litmus excel add ins extension see install litmus excel add ins docid\ gzdhbj1xzznddthyocuuu for details you have prepared a prepare a new tool file to manage digital twin instance(s) on multiple litmus edge docid\ zl of7krtllwfcxvzs8e model(s) have been add instance(s) to digital twin for multiple litmus edge docid\ c9tbavvlthioe03qwfmda to digital twins initial preparation open a new dt instance management tool file in excel if prompted, enable content to allow the code to run make sure the the tool is for the connect to option set to multiple le delete instance (s) import model(s) import the settings for instance(s) defined on litmus edge using the import instance(s) wizard docid\ xavozf7yih7 eqqhvotlu users can set a filter to reduce the number of instance(s) shown as selection to the user le device ip select or enter the ipv4 of the litmus edge you want to import instance(s) from notes you may need to provide the api key if the litmus edge has not been used with the tool search option select what type of filter is to be used instance name mask set the filter to be applied will be ignored if search option is set to all digital twin models select if you want to search for instance(s) only from a specific model the wizard will show what filter will be applied press the search button to pull the filtered list of instance(s) from litmus edge the user will be shown the filtered list of instance(s) matching their filter select the instances(s) to import and press the import button notes users can choose between press new search to set another filter and search again if the list doesn't show the instance(s) the user wanted to import select all instance(s) using the checkbox in the header row select a group of instance(s) by selecting their respective check box select one instance by selecting the respective check box select no instance and close the wizard pressing the close button instead the selected instance(s) with their settings are imported into the sheet once finished, the user can either p erform another search using the new search button finish the import using the close button the action for each imported tag is set to m for modify mark instance(s) for deletion change the action to d for the instance(s) you want to delete on litmus edge notes set the action to i for ignore for instance (s) in the sheet you do not want to process executing actions if the tool also includes instance(s) with either the action a or m , it is recommended but not mandatory to verify the configuration first without executing the action by pressing the verify only button this will check that all required instance settings are provided and logically correct and provide any finding to the user example below the user did not set a topics (value is "") for the dynamic attribute important the tool can not verify if all provided instance settings are factually correct for example it can not verify that the value of a static attribute is correct for what the user wants to achieve the instance(s) can be deleted from litmus edge by pressing the verify + execute button the tool will group all the instance(s) based on the litmus edge(s) defined in column target litmus edge ip for each litmus edge this will check that all required instance settings are provided and logically correct and provide any finding to the user if no issues have been identified, the tool will verify that the user wants to execute all the actions from the action column a add instance(s) m modify instance (s) d delete instance (s) i ignore instance (s) > do nothing to perform all actions, press the yes button the tool will perform all actions row by row for the litmus edge when finished, a result summary is shown for each litmus edge close the result summary by pressing the x close button once all litmus edge have been processed, t he tool will ask if the user wants to re compare the instance(s) against litmus edge to re compare, press the yes button to not re compare, press the no button if the user selected to press the yes button from aboves messagebox, the tool will pull all the instance settings from litmus edge again including the instanceid and also change the action to m for each instance with a instanceid or a for an instance with no instanceid