FAQ 214
The described method can also be used to simply display the data of a vector signal under
ControlDesk. In this case it is not necessary to provide data for the X-axis.
In ControlDesk NG (since version 4.1) you can simply drop the measurement vector or 2D
measurement array to a layout and have the signal automatically connected to the default instrument,
the Table Editor
Prerequisites
The Simulink model must provide a vector signal both for the calculation result and for the frequency
values (abscissa).
For further information about the abscissa see below (Calculating the Frequency Vector).
Step-by-step Instructions for ControlDesk 3.x
1. Insert a Table Editor instrument in a ControlDesk layout.
2. Drag the Frequency Vector variable to the X row of the Table Editor table with the right mouse
key.
When you drop the variable, a pop-up menu is displayed. From this menu, select Custom
Connection...
3. In the following dialog select the System -> System:Poll event and close the window
with the Finish button.
4. Drag the FFT result vector to the Table Editor table with the right mouse key.
From the pop-up menu, select Custom Connection... again and then the System:Poll
event in the dialog.
5. Switch to the Animation mode.
The Custom Connection for the System:Poll event results in continuous updating of the
Table Editor contents.
If you dragged the variables with the left mouse key as usual, you would have to press
the Upload button of the Table Editor each time to update the displayed data.
6.
When starting online calibration, the data is updated by the variable observer (every
250ms until ControlDesk NG 4.3, every 100ms from ControlDesk NG 5.0 on). When
starting the measurement, the data is updated with the selected measurement raster.
Mind the bandwidth.
You can of course also enter a MATLAB expression in the Constant block:
Vf = [9.765625 :9.765625: 10000]
If the FFT block also outputs the constant component of the analyzed signal, the Frequency Vector
must have an additional element for "frequency zero":
Vf =[0 :9.765625: 10000]
Related FAQs
dSPACE recommends that you use the support request form on the Internet to contact
dSPACE Support.
It is available at:
http://www.dspace.com/go/supportrequest
Important Notice
This document contains proprietary information that is protected by copyright. All rights are
reserved. Neither the documentation nor software may be copied, photocopied, reproduced,
translated, or reduced to any electronic medium or machine-readable form, in whole or in part,
without the prior written consent of dSPACE GmbH.
Copyright 2013 by:
dSPACE GmbH
Rathenaustrae 26
33102 Paderborn
Germany
This publication and the contents hereof are subject to change without notice.
A list of registered dSPACE trademarks is available at:
http://www.dspace.com/go/Trademarks