11/7/2023 9:41 AM | |
Joined: 3/7/2018 Last visit: 1/18/2025 Posts: 10 Rating:
|
Hello all, I just started to work with vb scripting for HMI Tp1200 comfort, I am using Tia portal V17 for this. I have a issue with a code which I did not had before with the Image version: V17.00.00.04 from the hmi screen. I updated the recommended screen Image version: V17.00.00.06 , suddenly the code creates a fatal error and I need it to reboot the screen. The code should worked as follow: 1 it copies the alarm log csv file from storage card sd and pas it in the he flash with other name 2 it creates a empty Log html 3 it starts to read the lines from this alarm csv file 4 It converts the reading fo html 5 it shows the alarm log in htnl format on the screen I have hunt on code level where it creates this fatal error and i came to this point between ShowSystemAlarm "6" and ShowSystemAlarm "7 " which is line nr 87--> outputFile.LinePrint(htmlContent). For me it is not clear why this creates now this fatal error on Image version: V17.00.00.06 while it worked on Image version: V17.00.00.04 and Image version: V17.00.00.00 Does somebody any ideas where it goes wrong ? see code below, Thanks
AttachmentCode.txt (483 Downloads) |
Last edited by: Jen_Moderator at: 11/08/2023 07:51:43Code added as .txt file. |
|
1/25/2024 11:02 AM | |
Joined: 3/7/2018 Last visit: 1/18/2025 Posts: 10 Rating:
|
Hello Murof, Concerning the project dead line, I used one of this scripting which is mentioned in this Toolbox for HMI Projects - ID: 106226404 - Industry Support Siemens for to show this CSV and that works nice Thank you for your cooperation! Kind regards Ferry |
Last edited by: The Helping Hand at: 01/25/2024 13:23:30Link optimized |
|
Follow us on