8/10/2017 11:39 AM | |
Posts: 30 Rating: (4) |
Hello guys, I have tried using those commands:
but apparently these are not available and the first one gives an error ('ActiveX cannot create object')
- TIA Portal V13 SP1 upd 9 - WinCC comfort runtime - My HMI is a TP1500 (version 12.0.0.0) Cheers, |
8/10/2017 1:40 PM | |
Posts: 648 Rating: (95) |
Dear Kostas Patsis, on Panels there is running Windows CE. So you have to use expressions von VBS for Windows CE. More Information you can find in the Programming reference https://support.industry.siemens.com/cs/ww/en/view/109747176 #####Example Code for write HMI Tag "text1" (string) to file "\flash\text.txt" ####### Dim fs, f, pathFile Set fs = CreateObject("FileCtl.FileSystem") pathFile = "\flash\text.txt" If fs.dir(pathFile) <> "" Then #####End Code########## With best regards rh1990 |
Last edited by: rh1990 at: 8/10/2017 1:42:05 PM |
|
8/11/2017 10:40 AM | |
Posts: 30 Rating: (4) |
Thank you guys! Your solution worked perfectly. |
8/14/2017 10:47 AM | |
Posts: 648 Rating: (95) |
|
Follow us on