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 |
产品 | ControlDesk |
资料信息 | 问题解答报告 |
信息类别 | 故障排除 |
Keywords | TRC 2015-B, Shared axis, ControlDesk, ControlDesk NextGeneration |
推动创新进程。我们始终在技术开发的最前沿。
欢迎订阅我们简讯,了解我们的专业技术以及产品。希望我们的成功案例能够对您有所帮助。快速了解仿真和验证的最新信息。欢迎订阅/管理dSPACE简讯和dSPACE航空速报。