MappView Diagnostic Page unclear information

Hi, while debugging our HMI, I’ve found an issue that I can’t explain. Basically, it seems like an action failed to complete.
When I go to the MappView Diagnostic Page, the failed action is represented by an “half star,” but I can’t find any information about its meaning or cause.
The action that failed was an “UnloadContent” action, on a ContentControl widget.
Here’s an image to illustrate the situation:

image

I think you have problem how you browser represents the result, maybe small resolution? Should looks like this.

On the left side you can see what type of event or action are represented. And if you on respective lines you can se some more details.

refer to AS Help B&R Online Help

It’s not a resolution problem. I have other actions in the same interaction, and they are all functioning normally.

If you examine the code, you can also see that a half-star icon is being used in the row.

image

The problem occurs when I open the row with the ‘+’ symbol, there is no information displayed underneath, and actually the ‘UnloadContent’ action doesn’t end successfully.

The problem among other things seems to happen randomly, it doesn’t seem to follow a logical sense.

Hi Martin,

You can also check the HMI logger in AS to get further information.

Sometimes there are troubles on UnloadContent action, if another loading / unloading action is working simultanously.

Another reason could be that the content which contains the ContentControl isn’t loaded anymore.

Simon.

The action is an “UnloadContent” action, on a ContentControl widget.
I checked the logger with all the options checked and there are no warning or errors that occurs.

1 Like

Sorry - didn’t read that. I edited my answer

Can you share whole screenshot of Diagnostics page?

Sorry, actually i did not check the visualization option in the logger, this is the error:

image

I will try to investigate further.

2 Likes

So the error occurs on the UnloadContent action

image

The only reason this could happen I think is because the content on which the UnloadContent is performed is not yet loaded.
This action is the first performed after a DialogOpened event

image

The point is that in the B&R Help it is clearly stated that when the event is triggered the content is already loaded and that actions can be performed on it immediately.

So I don’t understand why this action should fail, also generating the error in the logger.

Relations between opening dialog an loading / unloading ContentControls are not completely understandable to me.

Sometimes it’s necessary to start some actions after a waiting time. You can use SessionTimer to solve this in mappView.

I don’t think this is a clean solution, but I haven’t come up with a better idea yet.

1 Like