Device
A Device () is a device model instance that you can add under a feature or under a device model. If you add it under a feature, the program creates one device per feature instance.
To add a Device to Features ():
1
Under the Building Blocks branch click Features.
2
On the Home toolbar, from the Building Blocks group, click to add any of the available features (for example, a Device Model Feature or Domain Condition).
3
Right-click the node (in this example the Device Model Feature or Domain Condition node) and choose Device () from the Devices submenu.
To add a Device to Components ():
1
Under the Building Blocks branch click Components.
2
On the Home toolbar, from the Building Blocks group, click Component ().
3
Right-click the Component node and choose Device () from the Devices submenu. Or add a Device Model and right-click to choose Device as a subnode.
Device
To make this work properly, ensure that the device gets a unique Name, typically by specifying the name to entity.tag. The device then gets the same name as the parent feature.
In the Type text field enter the device model that the device is an instance of. If the Device is under a Device Model you can access the variables defined by the device’s device model by prepending the name of the device to the name of the variable. Assume that the device model declares a variable named R, and the device has the name R1. To use this variable in the device model that the device belongs to you then type R1.R.