This function allows you to trigger diagnostic messages from the program. The diagnostic class (in the range 0 to 4) of the diagnostic message is set via the parameter i_diDiagClass. Use i_sDiagText to transfer the diagnostic text. The maximum length is set to 14 characters. These are extended diagnostic messages.