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 |
인포메이션 타입 | Known Problem Reports |
인포메이션 카테고리 | Troubleshooting |
Keywords | TRC 2015-B, Shared axis, ControlDesk, ControlDesk NextGeneration |
혁신을 추진하세요. 항상 기술 개발의 동향을 주시해야 합니다.
저희 전문 지식 서비스에 가입하세요. dSPACE의 성공적인 프로젝트 사례를 확인해 보세요. 시뮬레이션 및 검증에 대한 최신 정보를 받아보세요. 지금 바로 dSPACE 다이렉트(뉴스레터)를 구독하세요.