Home » Categories » Gateways » 7000 Series - AppSrvCE |
I'm developing applications for the AppServ CE and need to know, how do I get applications to auto-start on power-up? |
Article Number: 385 | Rating: Unrated | Last Updated: Wed, Mar 19, 2008 at 12:00 AM |
On the AppSrvCE you can create a registry value to start a program when the module starts up. In the registry editor (regedit), under 'HKEY_LOCAL_MACHINESOFTWAREOnline DevelopmentLaunchIt', create a new STRING value, give it any name you like and assign as the value the executable path to the program you would like to start up. On a module with the EZ RTE, the value 'EZ RTE' should already be present with a value of 'DiskOnChipJaguarCE.exe'. If you are using EZ RTE and your application uses shared memory, it will cause problems if it runs before the EZ RTE. If this is the case, there is an application starter program that can be used which starts up programs listed in a file on the DISKONCHIP, the programs can be specified to start with a delay. For CE versions 1.18 and earlier the startup sequence can be modified to match the safer v 1.19 sequence using the following procedure. Remove the registry entry: HKEY_LOCAL_MACHINESOFTWAREOnline DevelopmentLaunchitEZRTE Add a new STRING value registry entry: HKEY_LOCAL_MACHINESOFTWAREOnline DevelopmentLaunchitStartup Set the value data to "DiskOnChipCEStartup.exe" Download the attached files to the Tecla, place them in the Diskonchip folder. Startup Files CEStartup.exe Startup.txt Starting with EZ version 7.04 and CE version 1.19, the CE startup sequence will be modified. Instead of CE starting up the EZ RTE directly, CE will startup an app called CEStartup.exe. CEStartup will startup a list of programs specified in a file named Startup.txt on DiskOnChip. For EZ RTE systems, Startup.txt will contain the path to the EZ RTE. The customer can also modify Startup.txt to startup any other apps he would like to start when CE boots. If the CEStartup starts the applications in the order specified in Startup.txt. The user can also specify command line parameters for the startup applications. The user can specify a delay before starting the application by adding a # followed by a number after the path to the executable file on the same line. The delay duration is in milliseconds. The startup execution path and command line parameters should not contain a '#' character. For user applications which run in parallel with EZ RTE and use shared memory, these apps must start after the EZ RTE, therefore we recommend that the user start his app with a delay of 1000 (milliseconds). |
Attachments (0)
![]()
There are no attachments for this article.
|
Comments
![]()
There are no comments for this article. Be the first to post a comment.
|
What can I do to troubleshoot connection problems between Echo Historian and OPC/SLS servers on the PC56/PC56CE/7000AppSrvCE platforms?
Viewed 1 times since Wed, Feb 6, 2008
I'm not able to create more than 7 interfaces in my EZStudio project, how can I add more interfaces?
Viewed 1 times since Thu, Jan 25, 2007
How does one autostart an application in the appsrvce?
Viewed 1 times since Fri, Aug 31, 2007
How can I use fault code 0x00000035 (PWR_DWN_5V_LOSS Power supply is below 5v. Shutdown is eminent) or any other fault code(s) to trigger a shutdown on AppSrv module?
Viewed 1 times since Wed, Dec 23, 2009
How do I do a Remote Display Connection with the AppSrvCE?
Viewed 1 times since Thu, Jan 25, 2007
I get an "echoxmlcfg failure" message whenever I try to download an EZ-Studio project to my ProSoft 7000 Historian. How do I fix this?
Viewed 1 times since Wed, Mar 5, 2008
How do I get AppServCE applications to Auto-Start on power-up?
Viewed 1 times since Thu, Apr 24, 2008
How do I setup the IP Address in an AppSrvCE?
Viewed 1 times since Thu, Jan 25, 2007
Every attempt to download an EZ-Studio project to the AppServ module results in an "echoxmlcfg" failure. How do I fix this?
Viewed 1 times since Mon, Feb 18, 2008
How do I change the video display resolution in the AppSrv?
Viewed 1 times since Wed, Nov 29, 2006
|