ControlDesk misinterprets data type of common axes in SDF/TRC based variable descriptions.
Relevant for ControlDesk 5.5 (Release 2015-B) to ControlDesk 6.4 (Release 2018-B)
using TRC files built with RTI 2015-B, or newer in conjunction with MATLAB R2015b, or newer.
For SDF/TRC based variable descriptions ControlDesk may misinterpret the data type of common axes for maps and curves.
Measuring and/or calibrating such common axes may cause access to wrong addresses and to unpredictable behavior!
This behavior occurs if more than one common axis with same length, but different data types is used.
Furthermore, the address mode of the common axes must be indirect, which however is the default address mode.
A common axis is an axis that is used by 1..n maps/curves.
Using workspace variables as breakpoint parameters of Simulink Lookup Table blocks leads to common axes.
Please note that the default axis type is "double".
If you do not change data types of axes, the issue will not occur.
To check if your TRC files are potentially affected, you can use a tool provided by dSPACE:
Result:
You will get info in the command window about potentially affected files, axes and variables using the axes.
Additionally, the same info is stored in a file "TrcCommonAxisTypeChecker‑Results‑[timestamp].CSV" situated in the path that was checked.
Please note that the checker tool may also give the verdict "Error" or "Exception" in case a file with the extension "TRC" cannot be parsed.
Such a file cannot be imported to ControlDesk, so it is not a critical file.
If you check ControlDesk projects with successfully imported variable description files, such verdicts should not occur.
If you have affected files, it is highly recommended to install the appropriate ControlDesk patch and import the variable description again afterwards or apply a workaround and import the variable description again afterwards.
Workaround
Do not use such variables.
or
or
and
Solution
Install the latest ControlDesk patch containing a bug fix for this problem as soon as available and import the variable description again.
In need, please contact support for the availability of fixes for the following versions:
This information corresponds to KPR.2019.04.15.001 that you find also in the Known Problem Reports list.
This page can only be reached via the link http://www.dspace.com/go/KPR.2019.04.15.001-INFO
Date | 2019-05-20 |
Product | ControlDesk |
Information Type | Known Problem Reports |
Information Category | Troubleshooting |
Keywords | TRC 2015-B, Shared axis, ControlDesk, ControlDesk NextGeneration |
Drive innovation forward. Always on the pulse of technology development.
Subscribe to our expert knowledge. Learn from our successful project examples. Keep up to date on simulation and validation. Subscribe to/manage dSPACE direct and aerospace & defense now.