Change start up screen

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
JohnCZ
Posts: 73
Joined: Wed Jun 27, 2012 1:17 am
Location: CZ
Contact:

Change start up screen

Post by JohnCZ »

Hello all,

Is there any way to change the startup screen via script. Why do I asking? I need to ensure the project so that after about 2-3 weeks will jumped on the panel screen,, enter the code '' and if they do not enter the code, so this screen would loaded every time when HMI start. If they entered code, so they could work on and never would this screen appeared.

It's a typical password protection project if someone does not pay.

I try it with scheduler but i haven't find way to change startup screen.

Jan

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Change start up screen

Post by mark.monroe »

There is no way to change the startup screen. Rather, you would have the startup screen always be the same. And then put code on the startup screen which decides whether or not to allow them to use the software. You could for instance have a tag that has the date of the last time they entered a password. If it is recent, then you can have the startup screen automatically switch to a different screen by using the startup screen's Screen Open event in script. If it is time for them to enter a password, then the code would ask the user for a password, before it switches to the other screen.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

JohnCZ
Posts: 73
Joined: Wed Jun 27, 2012 1:17 am
Location: CZ
Contact:

Re: Change start up screen

Post by JohnCZ »

Hello,

Yes I thought that I would have to to do something like this. First, I wanted to do somehow without a script, because the customer after he pays he gets a full support to the project but he doesn't know anything about C# ?

I thought there will be chance to deactivating scheduler Job by USER input
,,somehow'' but maybe it is wrong way to deal it with these problem.

Jan

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Change start up screen

Post by mark.monroe »

Schedulers always run. There is no way to turn them on/off. I think you are going to have to use C# to do what you want.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

JohnCZ
Posts: 73
Joined: Wed Jun 27, 2012 1:17 am
Location: CZ
Contact:

Re: Change start up screen

Post by JohnCZ »

Ok

Thanks.

Post Reply