Creating a New (User-Defined) Comment Input Field
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?
There are two ways of doing that.
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.
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).