Applies To:
  • CitectSCADA 5.xx, 6.xx
  • CitectHMI 5.xx, 6.xx

Summary:
After updating or adding graphics a redeployed project is not updated on the Web Client.  

Solution:
This is the result of graphics being cached in temporary Citect files. Temporary Citect Files can be deleted through Windows Explorer; \Document and Settings\<Current user logon>\Local Settings\Temp\Citect. 'Local settings' may be hidden so ensure 'show hidden files and folders' is selected under tools, folder options, view in Windows Explorer.

The updated graphics will now be transferred to the Web Client on startup.

To automate this a batch file can be created and run to delete temporary internet files before starting the Web Client;

To create a batch file open notepad and paste the following text:

RD "C:\Documents and Settings\<Current user logon>\Local Settings\Temp\Citect" /S /Q
"C:\Program Files\Internet Explorer\iexplore.exe" "http://10.176.234.17/CitectScada/"

Replace <Current user logon> with the current user name.
Replace “http://10.176.234.17/CitectScada/" with the CitectScada WebClient URL.

Save to desktop as run.bat. It must have a file extension of .bat to work. Remember to change the ‘Save as type:’ from ‘.txt’ to ‘All Files’ before saving.

Instead of running WebClient from Internet Explorer use the created batch file. This will ensure that the temp Citect directory is deleted before Internet Explorer is run and your WebClient will have all the latest pages/updates.

Please refer to the Citect Website, Toolbox for instructions and a downloadable script that will automatically delete all the webclients cache from the server end. (i.e. without customisation on each client)

 

Keywords:
Webserver Webclient Web Deployment batch cached 
 

Attachments