8/12/2024 10:09 AM | |
Joined: 4/1/2019 Last visit: 9/4/2024 Posts: 4 Rating:
|
Hello, I have read topic about dynamic timerange in reports ( https://support.industry.siemens.com/forum/rs/en/posts/setting-dynamic-time-range-in-report-layout/34156 ) so i gave it a go, but unfortinetly have no success. In main screen i created one page (Main page) and there are two buttons and one Wincc Online Trend control. Button 1 is for generating trend on that screen and there are various of date/time formats that i tried and it worked ( dd/mm/yyyy , dd-mm-yyyy, dd-mm-yy, yyyy/mm/dd, etc...). I used script that i found on siemens web site : Button 2 is to create Report and i have created three io fields and on trend and i added two tags for TimeAxisBeginTime and TimeAxisEndTime, that are same as for trend on the main page. They are 8-bit text type. On some formats like (dd/mm/yyyy) i get return of time little bit shifted bud on same day but if i try to get (HH:mm:ss) like 13 or i dont know 15 hour it give me something random. You will see in the attachment. If anyone can give me some idea how to fix it it would be great. AttachmentprobaddMMMyy.pdf (31 Downloads) |
Last edited by: Moderator_Lan at: 08/12/2024 11:13:34links optimized |
|
Follow us on