Difference between revisions of "OtfFirstSteps"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
− | == | + | ==Create new OTX sequence project== |
+ | |||
+ | Start the OTF, go to the [[OtfStartPage|StartPage]] and follow instructions in the images below. | ||
[[Image:FirstStepsPage1.png|980px]] | [[Image:FirstStepsPage1.png|980px]] | ||
− | ==Insert an Assignment | + | ==Insert an Assignment activity== |
[[Image:FirstStepsPage2.png|1000px]] | [[Image:FirstStepsPage2.png|1000px]] | ||
Line 28: | Line 30: | ||
[[Image:FirstStepsPage4.png|350px]] | [[Image:FirstStepsPage4.png|350px]] | ||
− | ==Insert a ConfirmDialog | + | ==Insert a ConfirmDialog activity of HMI extension== |
[[Image:FirstStepsPage5.png|1000px]] | [[Image:FirstStepsPage5.png|1000px]] | ||
Line 40: | Line 42: | ||
− | ==Execute your first procedure and look at the Variable | + | ==Execute your first procedure and look at the [[OtfTraceWindow|Variable Trace window]]== |
[[Image:FirstStepsPage7.png|1000px]] | [[Image:FirstStepsPage7.png|1000px]] | ||
Line 57: | Line 59: | ||
− | ==Insert an ExecuteDiagService | + | ==Insert an ExecuteDiagService activity of DiagCom extension== |
[[Image:FirstStepsPage9.png|1000px]] | [[Image:FirstStepsPage9.png|1000px]] | ||
Line 69: | Line 71: | ||
− | ==Bind Response parameters to | + | ==Bind Response parameters to newly created OTX variables== |
[[Image:FirstStepsPage11.png|1000px]] | [[Image:FirstStepsPage11.png|1000px]] | ||
Line 75: | Line 77: | ||
− | ==Execute the procedure and look at the Communication | + | ==Execute the procedure and look at the [[OtfTraceWindow|Communication Trace window]]== |
[[Image:FirstStepsPage12.png|1000px]] | [[Image:FirstStepsPage12.png|1000px]] | ||
Line 103: | Line 105: | ||
==Create a player project to execute it in stand alone OTP== | ==Create a player project to execute it in stand alone OTP== | ||
− | [[Image:FirstStepsPage16.png| | + | [[Image:FirstStepsPage16.png|750px]] |
==A monitor will be created== | ==A monitor will be created== | ||
− | [[Image:FirstStepsPage17.png| | + | [[Image:FirstStepsPage17.png|750px]] |
The monitor consits of an adjustable table layout with different panels which contain the controls. | The monitor consits of an adjustable table layout with different panels which contain the controls. | ||
Line 117: | Line 119: | ||
==Start the player, select the ODX database, done!== | ==Start the player, select the ODX database, done!== | ||
− | [[Image:FirstStepsPage19.png| | + | [[Image:FirstStepsPage19.png|750px]] |
Revision as of 04:22, 23 October 2018
In this section, we would like to step-by-step help you get started in the Open Test Framework. We assume that the OTF is already installed and activated.
Contents
- 1 First steps as Text
- 2 Create new OTX sequence project
- 3 Insert an Assignment activity
- 4 Adjust activity settings
- 5 A new variable has been created
- 6 Insert a ConfirmDialog activity of HMI extension
- 7 Adjust activity settings
- 8 Execute your first procedure and look at the Variable Trace window
- 9 Adjust settings for ECU communication
- 10 Insert an ExecuteDiagService activity of DiagCom extension
- 11 Adjust Request/Response parameter settings
- 12 Bind Response parameters to newly created OTX variables
- 13 Execute the procedure and look at the Communication Trace window
- 14 Create a procedure parameter for input and output
- 15 Add new activity via OTL editor
- 16 The sequence project is done, now start with a simple player
- 17 Create a player project to execute it in stand alone OTP
- 18 A monitor will be created
- 19 Create controls and bind to procedures and parameters
- 20 Start the player, select the ODX database, done!
First steps as Text
Here you can find the First steps as Text.
Create new OTX sequence project
Start the OTF, go to the StartPage and follow instructions in the images below.
Insert an Assignment activity
Adjust activity settings
A new variable has been created
Insert a ConfirmDialog activity of HMI extension
Adjust activity settings
Execute your first procedure and look at the Variable Trace window
Adjust settings for ECU communication
Important: Please note that this is only possible if a diagnostic runtime system (MVCI-Server) is installed at the PC!
If no MVCI-Server is installed, you can ignore the following steps. |
Insert an ExecuteDiagService activity of DiagCom extension
Adjust Request/Response parameter settings
Bind Response parameters to newly created OTX variables
Execute the procedure and look at the Communication Trace window
Create a procedure parameter for input and output
Add new activity via OTL editor
For experts only! Also the graphical designer can be used. OTL-Editor and designer are fully synchronized.
Please input the following code after the last row in code editor, see picture. You will be supported bny the auto complete feature of the editor.
InOutParameterDeclaration1 = StringUtil.StringConcatenate({"ProductionDate: ", ToString(Day1), "-", ToString(Month1), "-", ToString(Year1)});
The sequence project is done, now start with a simple player
Create a player project to execute it in stand alone OTP
A monitor will be created
The monitor consits of an adjustable table layout with different panels which contain the controls.