Test Cycle

Arranges SIMulation Workbench commands and forms around the steps taken by a simulation.

testcycle.png 

A brief summary of the data flow shown on the Test Cycle form is given here. See Major Simulation Steps for more documentation on the test cycle.

Initial Conditions

The RTDB is initialized at the beginning of the simulation.

Devices

The Read and Write stages read data from and write data to I/O Devices.

Read

The first stage of the test cycle reads data from the I/O Devices and writes it to the RTDB.

Scripts

In the second stage of the test cycle, an optional Script Program can read and modify the RTDB.

Models

In the third stage of the test cycle, the models run, reading and writing to the RTDB.

Write

The fourth stage reads data from the RTDB and writes it to the I/O Devices.

Monitoring

Asynchronously with the test cycle, HMI Display and RT Viewer may read from or write to the RTDB.

See Road Map Overview for documentation on the controls in the corners of the form.

User Controlstestcycle_left.png

Login...

Logs in to a real-time host. See Logging into the Real-Time Host.

Logout

Logs out from a real-time host.

Authentication...

Configures SIMulation Workbench users on the real-time host. The user must be logged into the host as an Admin user. See Authentication....

Change Password...

Changes the password of the currently logged in user.

change_password.png 

Exit

Exits the Control Center program.

Configuration

New/Select RTDB...

Creates a new real-time database or selects a real-time database for editing. The currently selected RTDB will be displayed in the lower right corner of forms where this information is relevant.

lower_right00005.png 

See New/Select RTDB....

Environment Vars...

Edits sets of environment variable settings that can be used when building models or running tests. See Environment Variables....

Devices

I/O Devices...

Configures the I/O devices available on the real-time host. See I/O Devices....

I/O Tasks...

Configures the processes that read from and write to I/O devices, do logging, etc. See I/O Tasks....

Initial Conditions

Initial Conditions...

Configures the initial conditions of a test. Initial conditions are set on points in the RTDB before the test is run. These settings include the values and logging settings of I/O points and of model parameters and signals. See Initial Conditions....

 

Read and Write

I/O Mappings...

Configures which hardware channel or message field that an I/O point is mapped to for reading or writing. See I/O Mappings....

Scripts

Scripts...

Edits and compiles scripts on the real-time host using a mini-IDE (Integrated Development Environment). See Scripts....

Models

User Programs...

Edits and compiles user model programs on the real-time host using a mini-IDE. See User Programs....

Simulink Modals...

Edits and compiles Simulink models on the real-time host using a mini-IDE. See Simulink Models....

Launch MATLAB...

Launches MATLAB on the local machine. The first time this command is invoked, a file browser dialog will be shown to allow the user to browse to the MATLAB program. That path is remembered in later invocations of the Control Center so the browser dialog will not be displayed again. Hold down the Shift key while clicking on the button to change the path. See Launch MATLAB and Using SimWB Toolkit GUI in Simulink.

RTDB

Analog Points...

Configures the I/O points that can hold a analog numeric values. See Analog Points....

Digital Points...

Configures the I/O points that can hold digital boolean values. See Digital Points....

String Points...

Configures the I/O points that can hold blocks of bytes, such as text strings or blocks of binary data. See String Points....

EU Conversions...

Configures complex conversion functions between the raw value that is read from hardware and the engineering units of an analog point. See Engineering Units Conversions....

Test Controlstestcycle00007.png

Tests...

Configures a simulation test. Use Initial Conditions... to configure initial condition sets associated with each test. Use Test Sessions... to configure and run sessions (individual runs) of a test. See Tests....

Test Suites...

Configures sets of tests to run in sequence. See Test Suites....

Test Sessions...

Configures and runs an individual session of a test. See Test Sessions....

Monitoring

DL Viewer...

Displays the values of logged variables after a test has run using graphs and tables. See Data Log Viewer Overview.

RT Viewer...

Monitors and modifies the values of variables in the active RTDB of a running test in real-time. See Real-Time Viewer Overview.

HMI Builder...

Creates a custom display for monitoring and modifying the values of variables in the active RTDB of a running test in real-time. See HMI Builder Overview

HMI Display...

Monitors and modifies the values of variables in the active RTDB of a running test in real-time using a custom display created with the HMI Builder form.