Tutorial
We would like to help you step-by-step entry into the Open Diagnostic Framework. We assume that the ODF is alreadyinstalled andactivated have.
We recommend that before reading the section Construction ODF and the general Information about OTX standard (ISO 13 209).
First Creating and Configuring a New Project
- Open the ODF, it appearsHome.
- Click on the button "New Project". It opens a dialog to select a folder.
- Select a folder and create over "Create a new folder"Where a new folder with name"New Folder". Select the newly created folder and click on the button"OK".
- Appears on the right side of theSolution Explorer with the root node "New Folder".
- Click the root node "New Folder"With the right mouse button. It appears theContext Menu. Select "Add/New Package ...".
- A dialog box where the name "NewPackage1"Enter and the Button"OK"Confirm.
- Click Click the right mouse button on the newly created package. It appearsContext Menu. Select "Add/New Document ...".
- A dialog box where the name "NewDocument1"Enter and the Button"OK"Confirm.
- Click onSolution Explorer "fold out" on the "+" left of the newly created package to the tree. It seems the newly created document "NewDocument1".
- Invite Now the newly created document by selecting it with thethe left mouse button double-. It reads "Plus"Sign left of the newly created document. Click on it to theTree below the document "fold out".
- Click Click the right mouse button on the newly created document. It appearsContext Menu. Select "Properties ...".
- Select in the dialog as "Diagnoselaufzeitsystem"The"DsaMVCIServer"Out.
- Click on the line "Settings"On the Button"...".
- It opens a new Configuration dialog. Select on the project "Demo"And then close the dialogue on"OK"Button.
- Close the "Project Properties dialog"On"OK"Button.
Second Create a new process
- Click on Solution ExplorerRight-click on the document below the node "Procedures". It appears theContext Menu. Select "Add Item ...".
- A dialog box where the name "Procedure1"Enter and the Button"OK"Confirm.
- It reads "Plus"Sign left of the node"Procedures. "Click on it to theTree below "fold out". It appears the newly created procedure"Procedure1".
- Open Now the new procedure created by clicking on it with thethe left mouse button double-. It opens theWorkflow Designer andToolbox is visible.
Third Add a ExecuteDiagServiceEx activity
- Look in theToolbox the tab "DiagCom"And click it. It appears the activities of theDiagCom Library.
- Look there in the section "Diagnostic Service"Activity"ExecuteDiagServiceEx". Click with the left mouse button on the activity and hold down the mouse button. Drag the activity to the right in the workflow designer on the green plus sign and then release the mouse button.
- Double Use the left mouse button on the new activity. It opens itself Properties window.
- Select on Control unit "DiagnosticsCan_ECU_1"Out.
- Search In the list below the Diagnostic Service "Production Number Read"And select it.
- In the list "Response parameters"The response parameters are for this service. Click here in the column"Variable"Parameter"ProductionNumber_ProductionNumber". It opens up a ListBox.
- Select "<New Variable erstellen...>"Out. A dialog appears to create a new variable. Name and type of the new variables are preset. Click therefore on the back"OK"Button.
- The "Variable1"Of type"Integer"Was thus bound to the response parameter. Close the dialog on the"Close"Button.
4th Adding an HMI Activity
- Look in theToolbox the tab "HMI"And click it. It appears the activities of theHMI Library.
- Search There you see "Standard dialogs"Activity"ConfirmDialog". Click with the left mouse button on the activity and hold down the mouse button. Drag the activity to the right in the workflow designer on the green plus sign below the"ExecuteDiagServiceEx"Activity and release the mouse button.
- In Properties window bottom right under "Title"The string "Production number". Note: The string must match Quotation marks be written!
- Click In the property "Message"Right on the button to open the list box. Select"<Ausdruck...>"Out. It opens the Expression Builder.
- Search You there in the lower part of the "Functions / Conversion"The expression"ToString (<<term>>)".
- Double Use the left mouse button on the Expression. The term is used in the Expression Editor taken. Click with the left mouse button in the just acquired expression in the expression editor to "<<term>>". The whole"<<term>>"Is selected.
- Search In the lower part of the "Variables"The Variable"Variable1 (integer)".Double On the Variable. She is in theExpression Editor taken so that there "ToString (variable1)"Should be.
- Connect the generator through the expression "OK"Button. The term is for the newly created"Message"Property acquired.
5th Start the newly created process
- Look in Ribbon under the tab "Start"Command"Sequence start".
- Click on the command and restart the sequence. Please note That the sequence for the first time slightly delayed but thereafter will be started without delay.
- It appears Output window in which the Diagnostic communication and Variable changes be recorded.
- You will see a Dialog box with the value of "production number".
- Save The newly created sequence with CTRL-S.
You have now created your first procedure, performed and saved. We recommend that you now the supplied OTX Sample Project to look at. It contains numerous sample documents OTX, which constitute the essential principles of OTX. You can find the sample project on the Home: The first entry under "Recent Projects"Or in the folder"Public documents \ Emotive \ Open Diagnostic Framework \ Examples \".
Should youfurther questions as a topic, please contact our moderatedForum are available.
See also
Execution environment (runtime OTX)
Structure
Run-time system configuration diagnostics
Expression Builder
Status Bar
Ribbon
List of errors (output)
Trace window (Output)
Eigenschaftenfenster
Toolbox (activities and libraries)
Workflow-Designer
Solution Explorer (Project Management)
Home
Installation
Licensing
-
Created22nd September 2011
-
Version29
-
Amended03. November 2011
-
Hits959
