Generate DUT¶
To generate DUT for an IO device:
Right-click on the desired IO device and select Generate DUT command.
- ⇒
A DUT is generated for the IO device in Application -> App -> IO_Device_Generated_Items folder.
Each device generates two DUTs. One for input and one for output. Some devices contain only input or output type. In such cases, the device generates only one DUT of relevant type.
The following example shows how to generate DUTs at CI level node.
Example
In the Devices tree, right-click on master node such as PNIO_Controller and select Generate DUT to create DUTs for the child nodes.
The DUTs of child nodes are generated in Application -> App -> IO_Device_Generated_Items folder.
For further information, see IO Mapping I/O Mapping List tab in Automation Builder.
Generated DUT considers channels with BYTE datatype as members. If channels with BYTE datatype are not present in the given hierarchy, it adds the members with other higher datatype.
Channels with BOOL datatype are not considered.