Generate DUT

To generate DUT for an IO device:

  1. 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.

    ../_images/955b260d396dab030a33139013b39a9b

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.

../_images/4a02843a3973a0060a33139042d5592c

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.

../_images/146f607d3976a7340a33139058cb2e08