ASCET Links: Examples

This topic contains examples for ASCET links used for the following tasks:

  1. Accessing a folder
  2. Accessing a component
  3. Accessing a component in a specific database/workspace
  4. Accessing an element (no particular project context)
  5. Accessing an element in the context of a particular project
  6. Accessing a method and its local elements
  7. Accessing code parts in an ESDL or C code component
  8. Accessing graphical objects in a block diagram
  9. Accessing states, junctions and actions/conditions (in the state diagram) in a state machine
  10. Accessing cells in Boolean and conditional tables
  11. Accessing data and implementations
  12. Accessing events and mappings in an AUTOSAR SWC
  13. Accessing objects in the project editor

A. Accessing a Folder
  1. In the Tutorial database, select the folder Control in the folder ETAS_SystemLib/Transferfunction:

    1. ascet://$DATABASE$/Tutorial?ETAS_SystemLib/Transferfunction/Control
    2. ascet://d:/ETASData/ASCET6.4/Database/Tutorial?ETAS_SystemLib/Transferfunction/Control

    ClosedResult

B. Accessing a Component
  1. Select the module IdleCon in the folder Tutorial/Lesson4:

    ascet://$DATABASE$/Tutorial?Tutorial/Lesson4/IdleCon

    ClosedResult

C. Accessing a Component in a Specific Database/Workspace
  1. Select the class LowpassKEnabled in the folder ETAS_SystemLib/Transferfunction/Lowpass. Use the database stored in d:\ETASData\ASCET6.4\Database\Tutorial.

    ascet://d:/ETASData/ASCET6.4/Database/Tutorial?ETAS_SystemLib/Transferfunction/Lowpass/LowpassKEnabled

    ClosedResult

D. Accessing an Element (no Particular Project Context)
  1. Select the message n in the "Outline" tab of the component editor for the module IdleCon:

    ascet://Tutorial/Lesson4/IdleCon/element=n

    ClosedResult

  2. Select the parameter n_nominal in the Browse view, "Data" tab, of the component editor for IdleCon. Use the data set Data_Test.

    ascet://Tutorial/Lesson4/IdleCon/data=Data_Test/element=n_nominal&location="Browse"

    ClosedResult

  3. Select the parameter n_nominal in the Browse view, "Implementation" tab, of the component editor for IdleCon. Use the implementation set Impl_Int.

    ascet://Tutorial/Lesson4/IdleCon/implementation=Impl_Int/element=n_nominal&location="Browse"

    ClosedResult

E. Accessing an Element in the Context of a Particular Project
  1. Select the message n in the "Outline" tab of the component editor for the module IdleCon, in the context of the parent project ControllerTest:

    ascet://Tutorial/Lesson4/IdleCon/element=n&project=Tutorial/Lesson4/ControllerTest

    ClosedResult

  2. Select the parameter n_nominal in the "Browse" view, "Implementation" tab, of the component editor for IdleCon. Use the implementation set Impl_Int and the context of the parent project ControllerTest:

    ascet://Tutorial/Lesson4/IdleCon/implementation=Impl_Int/element=n_nominal&location="Browse"&project=Tutorial/Lesson4/ControllerTest

    ClosedResult

F. Accessing a Method and its Local Elements
  1. Select the method doAddition in the class Addition:

    ascet://Tutorial/Lesson1_2/Addition/diagram=Main/signature=doAddition

    ClosedResult

  2. Select the argument input2 in the method doAddition. Use the database already open in ASCET.

    ascet://Tutorial/Lesson1_2/Addition/diagram=Main/signature=doAddition/element=input2

    ClosedResult

  3. Select the return value of the method doAddition. Use the database already open in ASCET.

    ascet://Tutorial/Lesson1_2/Addition/diagram=Main/signature=doAddition/element=return

    ClosedResult

G. Accessing Code Parts in an ESDL or C code Component
  1. Set the cursor to a specific position in the code of the getElement method in the class Matrix.

    ascet://Classes/Matrix/diagram=Main/signature=getElement/start=1@17/end=1@17

    ClosedResult

  2. Select a piece of code from the abs method in the class MathFcn, for the ANSI-C target, Implementation Experiment arithmetic, and Impl implementation.

    ascet://Classes/MathFcn/diagram=Main/signature=abs/start=1@8/end=1@12&implementation=Impl&target=G_ANSI&generator=Implementation

    ClosedResult

  3. Select a piece of code from lines 7-8 of the lineMvec method in the class Matrix.

    ascet://Classes/Matrix/diagram=Main/signature=lineMvec/start=7@1/end=8@16

    ClosedResult

  4. Select the lines 165 and 166 in the external C source code of class Class_C_ext (target PC, arithmetic Physical Experiment, no particular project context).

    ascet://externalCode/Class_C_ext/codeSource=externalCode/start=165@1/end=167@1&target=PC&generator=Physical

    ClosedResult

  5. Select a piece of code from line 44 in the external header code of class Class_externalC (target PC, arithmetic Physical Experiment, no particular project context).

    ascet://externalCode/Class_externalC/codeSource=externalHeader/start=44@15/end=44@23&target=PC&generator=Physical

    ClosedResult

  6. Open the External Source Editor for the external object file in module Module_C_ext in the context of the parent project Proj_C_ext

    ascet://externalCode/Module_C_ext/codeSource=externalCode&implementation=Impl&data=Data&target=G_ANSI&generator=Object&project=externalCode/Proj_C_ext

    ClosedResult

H. Accessing Graphical Objects and Sequence Calls in a Block Diagram
  1. Select an operator in the block diagram of IdleCon. Use the first diagram.

    ascet://Tutorial/Lesson4/IdleCon/diagram=Main/goid=19

    ClosedResult

  2. Select an operator in the diagram Public of IdleCon.

    ascet://Tutorial/Lesson8/IdleCon/diagram=Public/goid=9

    ClosedResult

  3. Open the graphical hierarchy in the first diagram of IdleCon.

    ascet://Tutorial/Lesson8/IdleCon/hierarchy="OuterHierarchy"

    ClosedResult

  4. Open the second-level hierarchy InnerHierarchy in the diagram Public of IdleCon. In addition, open the "Navigation" pane.

    ascet://Tutorial/Lesson8/IdleCon/diagram=Public/hierarchy="OuterHierarchy"/hierarchy="InnerHierarchy"&location="Navigation"

    ClosedResult

  5. Select the first sequence call of the process p_idle in the first diagram of IdleCon.

    ascet://Tutorial/Lesson4/IdleCon/diagram=Main/signature=p_idle/call=1

    ClosedResult

  6. Select the port that belongs to the first sequence call of the process p_idle in the first diagram of IdleCon.

    ascet://Tutorial/Lesson4/IdleCon/diagram=Main/goid=16/signature=set

    ClosedResult

  7. Select the port of method compute in the IntegratorKLimited class used in IdleCon_test.

    ascet://Tutorial/Lesson4/IdleCon_test/diagram=Main/goid=141/signature=compute

    ClosedResult

I. Accessing States, Junctions and Actions/Conditions (in the State Diagram) in a State Machine
  1. Select the lower state in the state machine WarmUp.

    ascet://$DATABASE$/Tutorial?Tutorial/Lesson8/WarmUp/diagram=Statemachine/goid=1

    ClosedResult

  2. Select a junction in the state machine SM_beverage.

    ascet://$DATABASE$/Tutorial?statemachines/SM_beverage/diagram=Main/goid=6

    ClosedResult

  3. In the state machine WarmUp, open the transition editor for the transition from coldEngine to warmEngine and select the code of the condition.

    ascet://$DATABASE$/Tutorial?Tutorial/Lesson8/WarmUp/diagram=Statemachine/goid=7/transition=Condition/start=1@1/end=1@9

    ClosedResult

  4. In the state machine SM_beverage, open the state editor for the start state and select the Exit tab.

    ascet://$DATABASE$/Tutorial?statemachines/SM_beverage/diagram=Main/goid=0/state=Exit

    ClosedResult

J. Accessing Cells in Boolean and Conditional Tables
  1. Select the cell in the third column, fourth row, of the Boolean table Class_Boolean_Table.

    Note

    The column with the row numbers is counted as x = 1.

    ascet://$DATABASE$/Tutorial?tables/Boolean/Class_Boolean_Table/x=4/y=4

    ClosedResult

  2. Select the top-left cell in the conditional table Class_Conditional_Table.

    Note

    The column with the row numbers is counted as x = 1.

    ascet://$DATABASE$/Tutorial?tables/Conditional/Class_Conditional_Table/x=2/y=1

    ClosedResult

K. Accessing Data and Implementations
  1. Open the dataset editor for IdleCon and select the dataset Data_Test.

    ascet://Tutorial/Lesson4/IdleCon/element=self&action=editData&data=Data_Test

    ClosedResult

  2. Open the data editor for the parameter n_nominal in IdleCon. Show the value assigned to n_nominal in the data set Data.

    ascet://Tutorial/Lesson4/IdleCon/element=n_nominal&action=editData&data=Data

    ClosedResult

  3. Open the implementation editor for IdleCon and select the default implementation.

    ascet://Tutorial/Lesson4/IdleCon/element=self&action=editImplementation

    ClosedResult

  4. Open the implementation editor for the parameter n_nominal in IdleCon. Show the implementation assigned to n_nominal in the component implementation Impl_s16.

    ascet://Tutorial/Lesson4/IdleCon/element=n_nominal&action=editImplementation&implementation=Impl_s16

    ClosedResult

L. Accessing Events and Mappings in an AUTOSAR SWC
  1. Open the software component editor for SWC and select the timing event Cyclic_10ms in the Event Specification view. Use the context of the parent project ARProject.

    ascet://Tutorial/AS_IntBehavior/Swc/event=Cyclic_10ms&project=Tutorial/AS_IntBehavior/ARProject

    ClosedResult

  2. Open the software component editor for SWC (without project context) and show the Event Specification view, but select no event.

    ascet://Tutorial/AS_IntBehavior/Swc/event=

    ClosedResult

  3. Open the software component editor for SWC_p_example (without project context) and select the entry for the parameter contpar_I in the mapping table of the "Parameter Mapping" view.

    ascet://Mapping/SWC_p_example/mapping=parameter/sourceName=contpar_I

    ClosedResult

  4. Open the software component editor for SWC_p_example (without project context) and select the entry for the interrunnable variable IRV_array in the mapping table of the "Internal Access" tab in the "Message Mapping" view.

    ascet://Mapping/SWC/mapping=variableInternal/targetName=IRV_array

    ClosedResult

  5. Open the software component editor for SWC (without project context) and select the unmapped entries in the mapping table of the "External Access" tab in the "Message Mapping" view.

    ascet://Mapping/SWC/mapping=variableExternal/targetName=

    ClosedResult

M. Accessing Items in the Project Editor
  1. Open the project ControllerTest in the project editor and select the task terminate_CT in the "OS" tab.

    ascet://Tutorial/Lesson8/ControllerTest/task=terminate_CT

    ClosedResult

  2. Open ControllerTest in the project editor and show the "OS" tab, but select no task.

    ascet://Tutorial/Lesson8/ControllerTest/task=

    ClosedResult

  3. Open ControllerTest in the project editor, then open the "Project Properties" window in the "Experiment Code" node.

    ascet://Tutorial/Lesson4/ControllerTest/option=Project Properties\Build\Code Generation\Experiment Code

    ClosedResult

  4. Open Project in the project editor and select the formula f_orig.

    ascet://nonlinearFormula/Project/formula=f_orig

    ClosedResult

  5. Open ES1325_project in the project editor and select the implementation type cont_sint8.

    ascet://RTIOTutorial/ES1325/ES1325_project/impltype=cont_sint8

    ClosedResult

  6. Open Project_EHOOKS in the project editor and select the bypass function bypass_func.

    ascet://SE/EHOOKS/Project_EHOOKS/scheduling=bypass_func

    ClosedResult

  7. Open Project_EHOOKS in the project editor and select the entry for message msg_send_cont_imp_pA3 in the Output mapping table.

    ascet://SE/EHOOKS_mapping/Project_EHOOKS/mapping=Output/sourceName=msg_send_cont_imp_pA3

    ClosedResult

See also examples L.3, L.4 and L.5.