Step 5 (Advanced): How to Automatically Partition Long-Term Recordings

Objective

When you perform long-term recordings, ControlDesk collects a large amount of data that can be difficult or impossible to handle. To handle the data more easily, you can automatically partition long-term recordings by using triggered recording.

In this step, you will define and perform multiple recordings that are triggered sequentially.


Part 1: To automatically partition long-term recordings

  1. If a measurement is running, stop it.

  2. In the Measurement Configuration pane, right-click Recorder 1 and select Properties.

    The Properties pane opens, displaying the properties of Recorder 1.

  3. Activate Start condition – Use start trigger.

  4. In the Trigger rule edit field, click the Browse button.

    The Edit Trigger Rules dialog opens.

  5. In the dialog, click Add and configure Trigger Rule 2 via the Custom condition edit fields.

    The recording must start immediately.

    To specify this, select:

    • <platform>_demo.sdf/Model Root/SigGenOut in the left edit field

    • = in the middle edit field

    • <platform>_demo.sdf/Model Root/SigGenOut in the right edit field

    This lets Trigger Rule 2 always apply so that no gaps occur between the recordings triggered sequentially.

    In the <platform>_demo.sdf demo application used in this tutorial, the SigGenOut variable meets this requirement, for example.

    When you use your own application, you have to search for an alternative such as a task counter or a time signal.

    Finally, click Add.

  6. In the Available rules list, select Trigger Rule 2.

  7. Click OK to close the dialog.

    In the Properties pane, Trigger Rule 2 is now active as a start condition.

  8. In the Properties pane, specify the following settings:

    Property

    Value

    Write to file

    enabled

    Use measurement timestamps

    enabled

    Start condition – Number of recording cycles

    5

    Start condition – Trigger delay

    -5 s

    Stop condition – Type

    TimeLimit

    Stop condition – Time limit

    60 s1)

    1. 60 s is only exemplary for this tutorial so you do not have to wait several hours for the step to complete. If you adjust this step to your needs, you can choose a longer time limit, such as an hour.

    There are five recordings, each running for 60 seconds. The time stamps of the recordings are calculated from the beginning of the measurement in ControlDesk. To avoid gaps in the recorded data, the negative trigger delay starts the next recording 5 seconds before the previous recording has finished.

  9. In the Measurement Configuration pane, right-click Acquisition and select Properties.

    Specify a measurement buffer size at least as long as the Recorder 1's trigger delay. 60 seconds are sufficient for most cases.

  10. Right-click the Platform – 1 ms raster and select Properties.

    Select Multi-capture history.

    This ensures that no data of the pretrigger (negative trigger delay) time is lost.

  11. Right-click the Platform – 1 ms raster and select Measure Continuously (Disables Triggers).

    This ensures that the raster is not triggered on the hardware.

  12. In the Measurement Configuration pane, select Recorder 1 and click in its toolbar.

    ControlDesk starts the triggered recording and stops after 5 minutes.

  13. In the Project pane, multiselect the five recordings in the Measurement Data folder.

  14. Right-click and select Open.

    ControlDesk opens the recordings in the Measurement Data Pool.


Interim result

You created five partitioned recordings without gaps.


Part 2: To display partitioned recordings

  1. On the Layouting ribbon, click Layouts - Insert Layout.

    ControlDesk opens a new empty layout in the working area.

  2. In the Measurement Data Pool, select the three variables of the first recording and drag them onto the new layout to place them in a Time Plotter.

  3. Repeat the previous step for the other four recordings. Drag all the signals to the legend of the same Time Plotter.

    Tip

    • To zoom the x-axis, press Ctrl while dragging the pointer on the axis.

    • To open the legend, click the symbol at the bottom right.

    In the Time Plotter, you can see the recordings.


Result

You displayed the five partitioned recordings in the Time Plotter. There are no gaps between the individual recordings.


What’s next

With this step, you finished the recording tasks in this tutorial. For a summary of your working results and for further information, refer to the result of this lesson.

Note

You can also partition an existing long-term recording by using the DSSIGCONV command line tool. For instructions, refer to How to Extract Data from a Measurement Data File.


Redaction