Look-up Table Migration: Repairing Look-up Table Connections

This utility for Automotive Simulation Models (ASM) helps you repair broken look-up table connections.

As described in the New Features and Migration Guide of dSPACE Release 2016-B, the discontinued Simulink Lookup and Lookup2D blocks in the ASM libraries were updated to the new Simulink Lookup Table (n-D) block. The migration sections of the specific ASM libraries provide a list of the affected blocks.

While the state-of-the-art look-up table functionality is still provided in the model, the connection variables in ControlDesk changed. ASM provides a Python script that re-establishes the broken instrument connections for the corresponding look-up tables.

The script iterates over all the layouts of an experiments. If the layouts contain a Table Editor, a check mechanism validates the connection of the instrument. If the connection is not valid, i.e. if it contains the string “OutputValues”, the string is renamed “LookUpTableData”. By default, the script does not save the layouts. You have to validate the corrections and manually save the corrected layouts . To save the layouts automatically you can set the variable "FlagSaveLayout" in the script to True.

The ControlDesk experiment must contain a valid variable description (SDF) file.

Before running the script, check if all variables in your layouts can be associated with a platform/device. Otherwise, the script will skip those layouts. Therefore, if the ribbon item “Assign Platforms” from the ribbon “Layouting” is enabled, you have to run it and select your platform.

To run the script, in ControlDesk go to the Automation ribbon and click Run Script.

We recommend to create a backup before running the script. You can view the correct connections between the instruments and the simulation variables when ControlDesk is online.

ASM Version Download Revision Date Revision
8.3 RenameTableEditorArray.py 2018-11-05 2.0

Please note

This material is available for registered customers with additional permission for Support Information (except TargetLink) only. If you are already registered please logon with your mydSPACE ID and passphrase in order to download this material. If you are not yet registered, use these links for registration and managing your permissions

Tags
Date 2018-11-05
소프트웨어 타입 Simulation Models
제품군 ASM (Automotive Simulation Models)
인포메이션 타입 유틸리티
인포메이션 카테고리 Migration, Functional Extensions
dSPACE Release 2016-B

혁신을 추진하세요. 항상 기술 개발의 동향을 주시해야 합니다.

저희 전문 지식 서비스에 가입하세요. dSPACE의 성공적인 프로젝트 사례를 확인해 보세요. 시뮬레이션 및 검증에 대한 최신 정보를 받아보세요. 지금 바로 dSPACE 다이렉트(뉴스레터)를 구독하세요.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.