Workflow to Retrieve Electrical Data

You can create a report to retrieve electrical data. The following scenario shows how you can retrieve the logical cables from wires.

Recommendation: In the following scenario, the variable default names are kept. Customize these names to clarify the report template.


Before you begin: In Electrical Systems Design:
  • Create a logical reference.
  • Under the logical reference, create a cable.
  • Under the cable, create two wires and one wire shield.
  • In the attributes of the wires and wire shield, enter a value in the Length field.
See Also
About Workflow Overview
  1. To define a report template for electrical data:
    1. From the Parameters area of the Properties tab, click New .
    2. In the Name field, enter logicalReference.
    3. From the Type list, select Logical Reference.
  2. From the Structure tab, to display the wires and the cable under which they are aggregated:
    1. Drop Table in the work area.
    2. Drop Header Cell to the table to create two more cells.
    3. In the first cell, drop Text and enter Wire.
    4. In the second cell, drop Text and enter Wire Shield.
    5. In the third cell, drop Text and enter Cable.
    6. In the fourth cell, drop Text and enter Length.


  3. To access the electrical data:
    1. From the Data tab, expand the following variables and categories.
    2. Drop the methods to the work area.
    Variable and Type Category Method Work Area
    logicalReference: Logical Reference Extensions Get All Sub-Components Insert in the table, below the header row.

    Rename the created iteration variable logInst.

    logInst: RFLVPMLogicalInstance Types As EleLogicalInstanceEntity Loop on Get All Sub-Component of logicalReference: logInst

    Rename the created iteration variable logInstEntity.

    logInstEntity: EleLogicalInstanceEntity Types As EleLogicalRoutableInst Loop on As EleLogicalInstanceEntity of logInst: logInstEntity

    Rename the created iteration variable logRoutableInst.

    logRoutableInst: EleLogicalRoutableInst Types As EleLogicalConductorInst Loop on As EleLogicalRoutableInst of logInstEntity: logRoutableInst

    Rename the created iteration variable logConductorInst.

    logConductorInst: EleLogicalConductorInst Electrical Get Cable Loop on As EleLogicalConductorInst of logRoutableInst: logConductorInst

    Rename the created iteration variable cable.

  4. To retrieve the logical cable from a wire and display the electrical values:
    1. From the Structure tab, drop Row to Loop on Get Cable of logConductorInst: cable.
    2. From the Data tab, expand the following variables and categories.
    3. Drop the method to the work area.
    Variable and Type Category Method Work Area
    logConductorInst: EleLogicalConductorInst Types As EleLogicalWireInst First cell of the row in the table.

    Rename the created iteration variable logWireInst.

    logWireInst: EleLogicalWireInst Attributes Name Loop on As EleLogicalWireInst of logConductorInst: logWireInst
    logConductorInst: EleLogicalConductorInst Types As EleLogicalWireShieldInst Second cell of the row in the table.

    Rename the created iteration variable logWireShieldInst.

    logWireShieldInst: EleLogicalWireShieldInst Attributes Name Loop on As EleLogicalWireShieldInst of logConductorInst: logWireShieldInst
    cable: EleLogicalWireInst Attributes Name Third cell of the row in the table.
    logConductorInst: EleLogicalConductorInst Attributes User Length Fourth cell of the row in the table.

Result: In this example, the template is defined to display:

  • The name of the instance for the wires and the wire shield.
  • The name of the cable under which the wires and the wire shield are stored.
  • The length of the wires and wire shield.



You can visualize the report file to be generated. For more information, see Previewing Reports.