| 001 |
FileChooser |
FileChooserTask |
DV_APPLICATION |
opens a dialog to load an .xls file, copies it in an Excel Workbook and then opens a dialog to choose the path where to save it. |
.xls file to save |
KnowledgeBase ID: KB0012432 |
| 002 |
CSP_Project_API |
ReadTheActiveEcuCTask |
DV_PROJECT |
reads container and parameter with the BswmdModel from a loaded project. |
|
KnowledgeBase ID: KB0012355 |
| WriteTheActiveEcuCTask |
DV_PROJECT |
writes EcuCores with different methods in a loaded project. |
| 003 |
CSP_Application_API |
CreateNewProject |
DV_APPLICATION |
creates a new project and activates Det, Dio and EcuC modules. |
insert path to the directory of the new .dpa project in the code |
KnowledgeBase ID: KB0012354 |
| CreateAndUpdateProjectTask |
DV_APPLICATION |
creates a new project and updates it with a communication extract. |
insert in the code the path to the already existing directory/folder in which the new .dpa project should be createde_Rx_simple_AR4.arxml file to get the communication definitions |
| 004 |
CSP_Workflow_API |
UpdateExistingProject |
ON_SUCCESSFULL_WORKFLOW_UPDATE |
will be executed after a successful update and then just prints update successful in the console output. |
|
KnowledgeBase ID: KB0012359 |
| TestUpdateSettings |
APPLICATION |
starts an update and enables the possibility to modify the SystemExtract. Then executes a python script and disables the possibility afterwards. |
.dpa project path defined in the code (project is not allowed to be open/running in the DV CFG).py script path defined in the code |
| ArPackageNames |
DV_ON_FILE_PREPROCESSING_RESULT |
will be executed after the filepreprocesing and therefore it is using the ScriptTaskType DV_ON_FILEPREPROCESSING_RESULT. It reads the ARPackages from the MDFModel and prints the ASRPath in the console output. |
|
| 005 |
CSP_GenerationStep_API |
GenStepTas_Step |
DV_GENERATION_STEP |
will be executed during generation as a generation step and then creates a new validationResult. |
|
KnowledgeBase ID: KB0012358 |
| GenEndTask_End |
DV_ON_GENERATION_END |
will be automatically executed at the end of the generation process and just prints the result of the generation and the executed generators in the console output. |
| 006 |
CSP_UI_API |
SimpleApplTask |
DV_EDITOR_SELECTION |
both just print some text in the console output but it differs depending on the selected element(s). |
|
KnowledgeBase ID: KB0012356 |
| SimpleApplTask_Multi |
DV_EDITOR_MULTI_SELECTION |
| 007 |
CSP_Validation_API |
CheckValidationResults_filterByOriginId |
DV_PROJECT |
example for the ScriptTaskType Validation API. This project contains various tasks regarding the IValidation API. It gives an overview how to get the validation results, how to filter them and how to use the ISolver API. There are examples which show the usage of solvingActions and how to create your own validationResult. |
to use all this tasks correct it is required to modify the requested entities in the code. For example the searched warning entity has to be listed and the amount of all entities has to be set correct. If this is not done before execution, all the asserts will be FALSE. Also have in mind that if the solving actions weren't reverted, the amount of all entities were changed and need to be modified before the next task will be executed |
KnowledgeBase ID: KB0012357 |
| SolveResultSolvingAction |
DV_PROJECT |
| SolveMultipleResults |
DV_PROJECT |
| SolveAllWithPreferred |
DV_PROJECT |
| FilterResultsUsingAnIdConstant2 |
DV_PROJECT |
| SolveMultipleResultsByGroupId |
DV_PROJECT |
| IValidationResultUIApiOverview |
DV_PROJECT |
| SolvingReturnValue |
DV_PROJECT |
| ScriptTaskCreationResult |
DV_GENERATION_STEP |
|
| 008 |
CreateApplicationDataTypeFromExcelList |
CreateApplicationDataTypeFromExcelList |
DV_ON_FILE_PREPROCESSING_RESULT |
creates Application Primitive Datatypes based on an Excel file. |
|
KnowledgeBase ID: KB0012238 |
| 009 |
ExamplePostImport |
UpdateExistingProject |
DV_ON_SUCCESSFUL_UPDATE_WORKFLOW |
changes the value of the parameter DemEventCreateInfoPort in all occurrences in DemEventParametern after a successful update was executed. This task type will be executed automatically, but only if the update was successful. |
|
KnowledgeBase ID: KB0012361 |