4/9/2020 6:31 PM | |
Joined: 4/25/2019 Last visit: 3/26/2025 Posts: 1 Rating:
|
Hello, The software used is TIA portal v14 SP1 with Update 9. The hardware is a Comfort Panel TP700. Programming Environment is VB Script. I have 2 unrelated questions, hope this is the right place to ask. 1) Is StartLogging necessary only if StopLogging was used? I have read through the online help and the entry for CloseAllLogs has an application example where StartLogging is used without StopLogging. I tried to use CloseAllLogs and then OpenAllLogs and the logging continues fine, that's why i wonder if StartLogging is needed. I don't wanna run into problems later on. In this Documentation : https://support.industry.siemens.com/cs/ww/en/view/48015332 At page 33 both OpenAllLogs and StartLogging are used for Archive_01 even though Logging for Archive_01 was not stopped. 2)If i use fs.FileLen on a path that doesn't exist i get the following Error Number & Description: -2147024894 The system can not find the file specified I couldn't figure out what's up with the number. I couldn't find how are that err.number and err.description related. Why that number? Thank You! |
Last edited by: AlexIosif at: 04/10/2020 18:53:26Last edited by: Jen_Moderator at: 04/29/2020 09:14:30Optimized link. |
|
4/28/2020 12:19 PM | |
Joined: 8/3/2009 Last visit: 4/17/2025 Posts: 15311 Rating:
|
Hello to 1st Question, here is a FAQ which describes the reccommended actions or order of actions: https://support.industry.siemens.com/cs/ww/en/view/63042926 Bye Murof |
Last edited by: Murof at: 04/28/2020 12:19:20If this Information really helps, you could use the Rate function |
|
This contribution was helpful to
1 thankful Users |
Follow us on