I fail to build the WinNTC function that defines dialog message or log message in the action diagram. The pnl file of the WinNTC function is not create.
It failed to read the pnl file in Visual Studio 2013, but the error is not output. The error log is not output, too.
The build of the function succeeds when I change the language of the function of the problem to WinC.This problem does not occur in the version until Plex r7.2.
The solution to this problem is necessary because we often display the message in the event viewer of the server.
Does anyone know of a way to successfully build a WinNTC function with dialog message or log message?
(1) Is your NT server a local or remote system?
(2) Are you able to build any other WinNTC functions in your model?
(3) Is the WinNTC function that is failing to build an internal or external function?
(4) Do you have any customization defined for the build process for this type of WinNTC function in your gen & build options?
Thank you for making a comment. I will answer your question.
The compilation of the function is local build.
Yes, the WinNTC function without dialog message and log message can build normally.
The type of the WinNTC function is external.
No, I have not gen & build options customization.
What kind of message do you want to write to the Event Viewer log?
We display the messages that only the server administrator can see in the Event Viewer, depending on the specifications of each user.
The old trick was scope a panel to the function and make the function internal, G&B, then make external again and G&B
this issue has come up from time to time. you will find it is not even if you use a log message but if the log message contains just params or just text, or text and params. Search on the forums this has come up before and began when CA externalised messages for translation purposes Knowledge Base Articles
Thank you for making a comment.
I know that a .pnl file created for functions without a panel. This problem is that the .pnl file is not created.We can create the .pnl file until Plex r7.2. Probably, I think this is a problem specific to Plex r7.2.1.
My point was add a panel to your function in the model editor. Scope a panel to the function, build see what happens. Then delete the PLEX panel object in the object browser, then G&B...this is just a work around if it is a show stopper for a few functions.
I added a Plex panel object to the function of the problem and deleted it, but the .pnl file was not created.
Can you create the .pnl file of the WinNTC function by this way in Plex r7.2.1?
By the way, I can create the .pnl file when I change the language of the function(without Plex panel object) to WinC.
The problem is due to project template file - OBWNTPNL.TML (Plex\7.2.1\lib). We have updated the project template file and problem has resolved.
We will be rolling out the updated TML file in upcoming builds. If anyone is facing this problem please drop me an email and we can supply updated TML file.
This problem was solved when I used the new OBWNTPNL.TML file. Thank you!