PageDisplay function not working after upgrade

We have upgraded the Citect from version 5.5 to 8.4 and we have had a number of issues (as would be expected) the latest one I am having is the old code called a PageDisplay() function after executing initialization code. PageDisplay() calls up an overview screen.

The problem we are having is the overview screen does not display properly and the splash screen remains visible, you can display the overview screen by clicking the mouse on the splash screen, and while this is OK for the developer it can cause the operator some problems.

I have looked in the cicode help and after it describes its function it says :

"Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised."

I have seen this type of note on other Cicode functions, but the obvious question is that if there is a problem using this function then what else do I use?

Parents
  • Hi Michael,

    It seems as part of your upgrade that you are moving from single process mode to multi-process mode which is a great move for performance and scalability going forward. It does mean however, that the upgrade is more complex as you need to think about where code needs to be running from.

    Essentially with PageDisplay, you need to be making sure that code is running in the client process. Have you confirmed that the code that is displaying the Overview page from a server process is absolutely necessary to be triggered from the server process? I have seen situations before where say the original startup function needed to be split up and re-organised across the processes. If it does it would be good to hear the reason why and then we can offer some approaches.


  • Thanks very much for your response. To be honest I am a bit confused about the whole multi-process mode. I can go through the code and see what should be running where. I can say that this is happening on both server machines as well as the control client.

Reply Children