Index: trunk/src_plugins/export_openems/openems_xml.c =================================================================== --- trunk/src_plugins/export_openems/openems_xml.c (revision 31978) +++ trunk/src_plugins/export_openems/openems_xml.c (revision 31979) @@ -43,8 +43,10 @@ fprintf(ctx->f, " \n", exc); fprintf(ctx->f, " \n"); } - else - fprintf(ctx->f, "\n"); + else { + fprintf(ctx->f, "\n"); + rnd_message(RND_MSG_ERROR, "openems xml: no excitation selected or invalid excitation\n"); + } free(exc); if ((mesh != NULL) && (mesh->bnd[0] != NULL)) {