Appendix: Built-in Scripting Language Note: This function calls the RegFlushKey function from the Windows CE API. The implementation of this function is OEM dependent therefore it is not guaranteed to work with all the Windows Embedded devices. Examples ReloadAppFromServer When executed on the Client, this function reloads the necessary project files from the Server while maintaining the current state of the project on the Client. Syntax ReloadAppFromServer() This function takes no paramters. Returned value This function always returns 0.
Notes For this function, "Server" means the station that is actually running your project and has the TCP/IP Server module enabled, and "Client" means a Thin Client or Secure Viewer that is communicating with the Server via TCP/IP. For more information, see Configuring a Web Solution . Tip: Before calling this function, you can use IsAppChangedOnServer to check the version of the project files that are already on the Client. If the files on the Client match the files on the Server, then you may choose not to call this function. Examples SaveAlarmFile Use this function to enable/disable the saving feature for alarm history and to set the path where the alarm history files must be handled.
Syntax SaveAlarmFile( numType , optRemotePath ) numType Tag containing the number and operation, as follows:
InduSoft Web Studio Page 563 Tag Name Expression n/a RegSaveCE( ) // Returned value = 0 if successful Function Group Execution Windows Embedded Thin Client ReloadAppFrom SeSrysvteemr Info Synchronous Supported Supported Supported Tag Name Expression Tag ReloadAppFromServer( ) Function Group Execution Windows Embedded Thin Client SaveAlarmFile System Info Synchronous Supported Supported Not supported 0 Disable save the alarm file to the local disk 1 Enable save the alarm file to local disk 2 Enable save the alarm file to local disk and to the remote path specified in the OptRemotePath parameter