Vector VN8970 User Manual Page 37

  • Download
  • Add to my manuals
  • Print
  • Page
    / 67
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 36
6.2 User application
Figure 6.4 Syntax of the file created by the application.
The second and third columns are the address and size of the variable respec-
tively. The names of the dynamic variables are also the names of the system vari-
ables specified in CANoe, this is also the case for the names under ”CANoe System
Variables” which are the names of the variables that must be calculated from the
”Indirect variables”. The "Constant variables" are variables that are read just once,
at the beginning of each measurement and later used during the calculations.
Visual Studio project details
For this application the Microsoft Foundation Classes libraries, MFC, were used in
order to get the functionality wanted; the MFC libraries wrap a part of the Windows
API in C++ classes so that an application written behaves as ”standard Windows”.
There is a MFC-project template available to choose when starting a new project in
Visual Studio 2010, however this project is rather ”bloated” from scratch with quite
a bit of code not necessary for this purpose. For details of what is exactly needed in
order to get an empty MFC project running, see Appendix A.
Each object (button, text field, etc) in the interface has a unique ID defined in
the properties for that specific object and is accessible in the code by declaring a
pointer and initialize it with the function , see example
37
Page view 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 66 67

Comments to this Manuals

No comments