Application Start Function/event

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
bennanio
Posts: 14
Joined: Thu Mar 01, 2012 11:48 am

Application Start Function/event

Post by bennanio »

Hi I'd like to run a script immediately when the app starts and I'm looking for what would be the best way to do this. Right now, all I can think of is sticking a call in my startup screen. I don't really like putting a call in my current startup screen because that's a little error prone (easy to change startup screen and forget about the initialization script). I'm wondering if there's a specific spot that is meant for this.

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

Re: Application Start Function/event

Post by mark.monroe »

The easiest place is in the startup screen. There is no special location in iX where you can put code that is called once when the panel starts up. Many people create a splash screen and use a timer to close the screen after it has been open for 30 seconds. That particular screen is then always used as the startup screen for the application. It is then really obvious which screen is the startup screen.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply