Device tree

The device tree in TNCdiag provides an overview of the existing drives and devices.

The top level of the tree is constituted by the Drives and MC nodes. In Drives, TNCdiag offers an overview of the individual drives on a functional level; in MC, TNCdiag shows a topological view of the devices.

Drives

TNCdiag displays the drives in parallel to the devices. Thus, you can obtain a functional overview of the information that is required for driving a physical axis.

There is no subdivision below the drive level.

Devices

Starting with the MC node, TNCdiag displays a topology of all connected devices. The topology is subdivided according to the various buses.

As far as possible, TNCdiag uses the same device tree structure and the same device symbols as IOConfig.

Toolbar

The device tree window has its own toolbar with the following functions:

prev_err_device

Searches for the previous faulty device, starting from the selected device

next_err_device

Searches for the next faulty device, starting from the selected device

find_tree

Opens or closes the search toolbar

expand

Opens the current node and all its child nodes in the tree

collapse

Closes the current node and all its child nodes in the tree

transfer_tree_up

If you select a device tree node in the main view, this function selects the same node in the secondary view, and vice versa.

tree_sync

The device trees in the main and secondary views are synchronized.

identify_device

The "Identify Device" function will be started if the respective device supports it. In order to find the device more quickly, it starts flashing in the electrical cabinet.

Searching the device tree

With the find_tree icon in the toolbar, you can toggle the display of the search bar.

The search bar contains the following functions:

find-prev

Searches for the previous device, starting from the selected device

find-next

Searches for the next device, starting from the selected device

[...]

Search term

case_sensitive

If this icon is selected, the search will be context sensitive

whole_word

If this icon is selected, the search must fully match the search term

regexp

If this icon is selected, the term will be interpreted as a regular expression

TNCdiag updates the search results as you start typing and highlights all matches in yellow. Starting from the selected node, TNCdiag jumps to the first matching node and selects it.

You can show or hide the search results by toggling the search bar.