Step 1: How to Measure on a Platform with Default Measurement Settings

Objective

When you add a variable description to a dSPACE platform, ControlDesk adds a start trigger and a stop trigger to each measurement raster available for the related application.


Default measurement settings

Measurement Trigger

Default Setting

Platform trigger (start trigger)

Disabled

Duration trigger (stop trigger)

Disabled

The following illustration shows the Measurement Configuration pane with the default trigger settings of the 1 ms raster of the DAQTutorialExperiment_Meas experiment as an example:

As a result, ControlDesk performs continuous (untriggered) measurements.


Preconditions

You must have prepared the tutorial project.

Refer to How to Prepare the Tutorial Project.


Video

Watch the video or follow the written instructions below.


Method: To measure on a platform with default measurement settings

  1. Open the DAQTutorialProject.

  2. If the DAQTutorialExperiment_Meas experiment is not already active, activate it via its context menu.

  3. Click Variables to open the Variables pane, and select the Model Root node in the group view.

  4. In the variable list, select the following two variables and drag them onto Layout1 to place them in a Time Plotter:

    • Control_out

    • Throttle_act_pos

  5. Name the Time Plotter Time Plotter A and open its toolbar (DAQ type) and its legend.

    Tip

    • You can open the legend and the toolbar by clicking the arrow symbols in the Time Plotter:

    • You can select the toolbar type within the toolbar:

  6. On the Home ribbon, click Status Control - Start Measuring to start a measurement.

    If ControlDesk detects no errors for the platform, it starts online calibration and displays the two measured signals in the Time Plotter.

    The Time Plotter is automatically set to continuous visualization mode. This is the default setting for connecting variables of a real-time application.

    The following Time Plotter elements give you more information on the currently active settings:

    • in the toolbar indicates that the Time Plotter is in continuous visualization mode.

    • The x-axis shows a continuing time axis, which indicates that no duration trigger is enabled.

    • The Raster column displays the measurement raster that is assigned to a signal.

  7. In the Measurement Configuration pane, open Acquisition – Platform – 1 ms to see the trigger settings of the 1ms raster.

    • The start trigger (Platform Trigger 1) is disabled.

    • The stop trigger (Duration Trigger 1) is disabled.

    Tip

    If the Measurement Configuration pane is not visible, select the View ribbon and click Pane – Switch Panes – Measurement Configuration.

  8. On the Time Plotter's toolbar, click to display the DAQ info.

    The DAQ info displays the currently active display mode of the Time Plotter.

  9. Press Ctrl+Shift+S to save the experiment.


Result

You have placed two variables in a Time Plotter on the layout and started a continuous measurement with default measurement settings.


What’s next

In the next step, you will switch from a continuous to a triggered measurement.


Redaction