Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: String Trace

String Trace 1 year 4 months ago #10125

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Karma: 0
Hi Claes,

We often use strings for diagnostics. In version 5.5, it appears run-time trace does not support strings, but displays as 32-bit integers? PLC code works fine. Tracing strings is merely a convenience, not a necessity.

It is believed xtt_trace.cpp is the correct code module responsible for displaying values? Any suggestions on how we can adjust to support string tracing?

Regards,
Ron
Attachments:
The administrator has disabled public write access.

String Trace 1 year 4 months ago #10134

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2750
  • Thank you received: 371
  • Karma: 118
Hi Ron,

xtt_trace.cpp is creating the display objects, but some info about the connection point such as type and attribute name is fetched from the flw-file so one has to go back and look where this is created in wb_gre.cpp and wb_tra.cpp to make a general solution. And it's not so easy to follow that path. I agree that this is something that is missing (also support for times and deltatimes) and I hope we can fix this to the next release.

/Claes
The administrator has disabled public write access.

String Trace 1 year 3 months ago #10151

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Karma: 0
Hi Claes,

Thanks for the tips. Our programmers are digging through Proview source code and making a good effort to understand and support string tracing. They made significant progress last week. Although not completely finished, I do see strings tracing on our software development system. So, very encouraging. If interested, I will send you a patch once completed.

Regards,
Ron
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.452 seconds