Creating a New (User-Defined) Comment Input Field

Question:

How can I create a new, user defined comment input field for a loaded measurement file or for the global comment template defined in the project?

Answer:

There are two ways of doing that.

  1. Go to Measurement Configuration | Measurement Options | comment template. In this dialog, comments on the current MDF file can be entered or changed. The editor's name, the department, the project designation, a title and a text can be entered. Additional fields can also be defined.

  2. To create a new comment input field for a loaded measurement file or for the global comment template, use the function MeasCommentFieldCreateEx().

    With this function you can e. g. define the data type for the new comment field and set an initial value for this. Also, you can insert a description or define the unit or the language for this field.

    Please find more information to this function in the CANape Online Help (Search | MeasCommentFieldCreateEx).



Article ID: 1288
Last updated: 2019-02-14
Revision: 5
CANape -> Measurement and Calibration of ECUs -> Creating a New (User-Defined) Comment Input Field
https://kb.vector.com/entry/1288/