10/27/2023 12:31 PM | |
Joined: 1/21/2013 Last visit: 12/11/2023 Posts: 2319 Rating:
|
Hi hewking103, To be honest, I do not know how to use the Trace Viewer as an external application. However, reading the FAQ, it seems to me that it would require changing the configuration every time the IP address of your Panel changes. Personally, I start the Trace Viewer from the command line, and since I do this several times a day, I do not have to worry about the syntax. The JavaScript equivalent of messageox would be the window.alert() method, but this is not supported by WinCC Unified. The Trace Viewer displays all trace messages generated by the system, and the trace forwarder forwards them to you. With "Edit > Trace Profile" you can change these settings for the connected device, but you should only change something there if you are told to do so by technical support. To generate your own messages for the trace viewer, use the JavaScript "Trace" method. Kind regards |
This contribution was helpful to
1 thankful Users |
10/30/2023 11:20 AM | |
Joined: 1/20/2022 Last visit: 12/11/2023 Posts: 292 Rating:
|
What about writing an output to the text file or multiple text file if the javascript is complex. Is it a valid and practical method to use for troubleshooting? Regards
|
10/31/2023 11:43 AM | |
Joined: 8/3/2009 Last visit: 12/11/2023 Posts: 11813 Rating:
|
Hello as an alternative if you simulate or run the PC RT you can also use debugging: https://support.industry.siemens.com/cs/de/en/view/109779192 Also on PC Systems you can use the mode -logger of the RTIL Trace viewer to write the logs to files. Bye Murof |
Last edited by: Murof at: 10/31/2023 11:43:36If this Information really helps, you could use the Rate function |
|
This contribution was helpful to
2 thankful Users |
10/31/2023 1:28 PM | |
Joined: 1/20/2022 Last visit: 12/11/2023 Posts: 292 Rating:
|
many thanks for these tips time spent on setting up debugging environment is a good investment.
|
Follow us on