The RBSConfig software tool can generate an RBS descriptor XML file, which you can specify for an RBS in the Configuration tool. For more information, refer to CAN BUS and LIN BUS.

Create RBS Descriptor File

  1. Generate Networks
    Generate networks to provide a basis for restbus simulation. Generate a new network in the Datapool pane using the following steps:
    1. Right-click the pane and select New Network » CAN Network or New Network » LIN Network, depending on your bus protocol.
    2. Enter a name for the new network in the dialog that appears. This name can only occur once in the datapool.
    3. Select whether you want to import multiple .dbc files or a single file. You can import multiple .dbc files in this step for a CAN network.

    After you create a new network, the Datapool pane displays the empty network. If you import multiple .dbc files, then all the .dbc files placed in the selected folder import in a single step. In this case, the Datapool pane contains all the imported .dbc files.

  2. Import Data Sources
    Complete this step to import data sources into the new network.
    1. Select and right-click the network.
    2. Select Add Data to Network.
    3. Select the file that contains the data you want to import into the network in the Open File dialog. Select a .dbc file or an AUTOSAR XML file for a CAN. Select a .ldf file for a LIN. The program imports the data source and updates the Datapool pane.

    You can change the default RBS values by right-clicking the network and selecting Change RBS Default Values.

    The default values are true for all messages and false for all nodes. If you restart the RBS Config Tool, the value properties reset to the default values. Every time you change the default values, right-click the network and select Copy2Config. If the Datapool pane has multiple .dbc files, then Copy2Config copies all the .dbc files to the configuration panel.

  3. Select Messages
    To select the messages for the restbus simulation, use the Copy to Config ConfigSteps as a resource. Generate these using one of the following options:
    • Using the ConfigStepsView
    • Dragging and dropping from the DatapoolView to the ConfigurationView
    • Right-clicking the DatapoolView
    A Copy to Config ConfigStep is an abstract description of which messages you should select for the configuration.
    • Type
      • Copy to Config
    • Property
      • Name
      • Transmitter
      • Receiver
      • Source
    • Filter Expression
      • Case Sensitive
    For example, you can select all of the messages received by a specific control unit:
    Table 8. Selection of Messages in RBSConfig
    Type Filter Property Filter Expression
    Copy to Config Receiver Name of the control unit

    View and run messages with Execute through Preview in the ConfigStepsView.

    Righ-click an individual messages or a message list and select Copy2Config to move it to the ConfigurationView.

    After executing the ConfigStep, view the selected messages in the ConfigurationView.

  4. Configure Restbus Simulation
    Add autosignals using one of the following options:
    • Right-click menu for a signal in the configuration (select Change to Autosignal)
    • Define an autosignal using the ConfigStepView
    Table 9. Filter for Autosignals in RBSConfig
    Ramp/Message Counter ^MC_
    Toggle Tgl$
    Checksum ^CRC_
    Parity ^Prty_
    The above table lists the naming convention for the signals. The filter expressions can vary. Use the regular expressions known in computer science for Filter Expression to search for specific names. For example:
    • ^ character at the beginning of a string—The name begins with the specified string.
    • $ character at the beginning of a string—The name ends with the specified string.
    • String without ^ or $ characters—The name contains the specified string.
  5. Exporting the Configuration

    After you configure the complete restbus simulation, you can export the simulation as an XML file. Export the configuration using the Save as XML command in the network right-click menu. You can export the complete configuration with multiple networks. You can also export the individual configuration for a single network if you only select one network. To generate the XML file for restbus simulation, you must select Selected Network.