Creates and configures the initial condition sets for tests. The default initial condition set for a test can also be set with this form. Initial ConditionAn initial conditions set specifies initial values for I/O points and model parameters. It can also override the RTDB’s logging settings.
shutdown ValuesThe values to be set in the RTDB at the end of a test run for the output items can be defined under the Shutdown branch. Folder and files location:Folder: $PROJECTDIR/Tests/TEST_NAME/InitialConditions/INIT_COND_NAME Files:
Warning! The default initial conditions created when a test is created will be overwritten by 'default value' in the RTDB items. This is to provide backward compatibility. If you would like persistent initial condition values, please make a copy of the default set, modify as required, and then set that as the default initial conditions for all the new test sessions |
Displays in the values and logging tabs only variables whose name matches the regular expression. See Regular Expressions.
Opens a short video clip that demonstrates the basic workflow of this form.
Opens this section of the manual.
Deletes the selected initial conditions set.
Creates a copy of the selected initial conditions set. There is no New button for creating a new initial condition set from “scratch”.
Add set of values to be set in the RTDB at test shutdown. The scheduler will set the values of the RTDB for the items defined under the shutdown branch when a test
is terminated. This only applies to output items. The value will be used by the I/O tasks to set the values of the output channels at the end of a test.
The Shutdown branch should automatically be present for newly created tests. This button will only be enabled when the branch is not already present and need to be added to an existing
initial condition set.
Commits all pending edits to the real-time host. See Apply .
Discards all pending edits.
Selects the test whose initial conditions sets are going to be edited.
List of initial conditions sets defined for the selected test. Select a set from this list by clicking on its row.
Name of the initial conditions set.
Whether the initial conditions set is the default one for the selected test. Click on the check box of a set that is not default to change the default set. The default initial conditions set can be changed on tests even after they are saved to the real-time host.
Description of the initial conditions set.
Name of the selected initial conditions set. Rename the set by clicking on the field and typing.
Description of the selected initial conditions set. Edit the description by clicking in the box and typing.
Table of initial values of RTDB variables. Name ColumnName of the RTDB variable. Names are hierarchical. Model parameters are parented by a node named the same as the model and I/O Points are parented by a node named rtdb_itemsIC. Type ColumnC language type of the RTDB variable, including its dimensionality in square brackets. Value ColumnInitial value of the RTDB variable. To edit a value, double click on it. Scalar values may be edited in place. Type an new value and press enter when done. Array values will bring up an dialog where you can enter value in the table . In the dialog, double click on each element’s value to edit it in place in the dialog’s table. Click on Accept Changes when done. Enable ColumnOnly the items which have the enabled flag will be set to the final value defined here. Disabled output items will keep their last value in the RTDB when the test finishes and will not be set to the final shutdown value. The checkbox in the Enable column allows enalbing/disabling the shutdown values for multiple selected items as a group. |
When the array is too large to be edited in using the table,
I.e. more than 500 elements, The value will be displayed as Too Big followed by values for
the beginning of the array. You can still set the values of specific arrays by importing values from a file. The Control center supports importing values from MAT (V 5) files,
CSV file or free format text file. |
Double click on the value line to open the dialog that will allow you to import values from a file.
Select the file type and click on the name of the file you want to import. |
When you import values from a MAT file,
the list of variables found in the file will be shown in the left pane of the Imported File tab.
Click on the line that defines the value you want to import and drag to the right panel and drop it on the RTDB/Parameters name for which to set the values. Import Type
|
Table that allows configuring the logging settings of all RTDB variables.
Name of the RTDB variable. Names are hierarchical. Model parameters are parented by a node named the name of the model prefixed by [Model Parameters], model signals are parented by a node named the name of the model prefixed by [Model Signals], and I/O points are parented by a node named rtdb_itemsIC.
Whether to log the RTDB variable or not. To edit the value click on it and select the new value from the drop down menu.
Selects the default value.
For model parameters and signals, the default is No, which is what the cell will display after Default is selected.
For I/O points, the default is the setting on the I/O point. See Analog Points..., Digital Points..., and String Points... for details on changing those settings. When Default is selected for an I/O point, the cell will display Default.
Enables logging of the RTDB variable. This overrides the logging setting in the RTDB for the variable. The Logging Period column will be enabled for the RTDB variable with this setting.
Disables logging of the RTDB variable. This overrides the logging setting in the RTDB for this variable.
Selects the frequency at which the RTDB variable is logged. It only has a value for RTDB variables whose Logging column has the Yes setting. To edit it, click on the value and select a new one from the drop down menu.
Logs at the simulation’s frame rate.
Logs every 500 microseconds to every 500 milliseconds. Logging will happen at a whole multiple of the frame rate.
Test Suites... | Test Sessions... |