Hello everybody,
I would like to set a certain page as the first page to display after the splash screen.
This page contains the navigation menu for the operator.
Thanks for your answer(s)
Hello everybody,
I would like to set a certain page as the first page to display after the splash screen.
This page contains the navigation menu for the operator.
Thanks for your answer(s)
Hi Jan Lonij
Try the citect.ini setting [Page]Startup=YourPageName
Let me know how it goes. If that doesn't work, let us know what template your pages are built using and what include projects are set.
Kind regards
Olivier
Hi Jan Lonij
Try the citect.ini setting [Page]Startup=YourPageName
Let me know how it goes. If that doesn't work, let us know what template your pages are built using and what include projects are set.
Kind regards
Olivier
I do not have Page.
So I added it via Computer setup editor like:
Then I saved the citect.ini file but after restart I still get the 'old' first screen and not HOME_Page
The page is built with this template:
The Page, I call is this:
There is also a [Page] Splash parameter. It is possible it is set in your project parameters (Studio | Setup activity | Parameters) since it is not in your citect.ini file. Also, note that each PC has its own citect.ini file, so setting the Startup parameter on the server will not affect clients.
It is also possible you have the [Client]StartupCode parameter set to call a Cicode function that may display a startup page. Check both citect.ini and the Project Parameters.
Another possibility, although unlikely, is an Event is displaying the page (Studio | Setup activity | Events).
You could also check the properties of the page to make sure it doesn't have any Page Events that are displaying other pages automatically.
Hello Eric,
In the setup - parameters is nothing:
In the project properties I also do not see anything related to this:
There are also no Page events in on the page.
I have added all three [Page] commands to both citect.ini files, the one in the config and the other in the project directory like:
But still, after saving and restart, I get the 'old' start-up page.
[Client]StartupCode ?
The only thing is: I do not see or have a cicode function called like this...
I do have client.ini file with:
[CTEDIT] BIN=C:\Program Files (x86)\AVEVA Plant SCADA\Bin LASTDATABASE=Kobelco_Citect (V2023) RUN=\\plantscadasvr01\User\Kobelco_Citect (V2023) COPY= LASTDATABASEPATH=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023) LASTSETUPPATH=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023) DATA=C:\ProgramData\AVEVA Plant SCADA 2023\Data USER=C:\ProgramData\AVEVA Plant SCADA 2023\User CONFIG=C:\ProgramData\AVEVA Plant SCADA 2023\Config LOGS=C:\ProgramData\AVEVA Plant SCADA 2023\Logs STARTER=C:\ProgramData\AVEVA Plant SCADA 2023\Starter Backup= [Client] ComputerRole=1 FullLicense=0 PartOfTrustedNetwork=0 CPU= StartupCode= Events= Clusters=Kobelco [RuntimeManager] Profile= [CtSetup] CustomSetup=0 [Alarm] ScanTime=500 SavePeriod=600 SummaryLength=1000 SummaryTimeout=60 SavePrimary=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023) SaveSecondary= IsolationDetectIP1= IsolationDetectIP2= [Report] Startup= InhibitEvent=1 RunStandby=1 [Trend] InhibitEvent=1 [LAN] TCPIP=1 AddressType=0 AddressScope=0 [Event] Server=0 [Debug] Menu=1 [Win] AltSpace=1 [Page] Startup=Readings [General] MultiProcess=0 [Server] AutoLoginMode=1 [Deployment] Enabled=0 Project= Version= [Kernel] WINDOWPOSITION=1,234,92,1406,824 Windows=0 [Kernel.WindowPositions] Main=6,0,0,115,28
There I see [Page]Startup=Readings
I think that is the place to be..
Sad but true, even after change, still the same 'old'/wrong page is loaded.
Make sure you are editing the config\citect.ini file. The copy in the project folder is not used. It's just a copy for your reference from the last time you backed up/restored the project.
It's a good idea to use the Computer Setup Editor to edit citect.ini. It opens the correct file from Config, and it makes sure the format is valid. For example, if you have 2 [Page] sections, the 2nd one will be ignored.
I'm not sure how familiar you are with Cicode. To search for the ClientStartup function, open the Cicode Editor, and from the toolbar, click the Find User Function button. Type in ClientStartup and click OK to search for it.