Book a Demo

Author Topic: Simulaton Trace command  (Read 3750 times)

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Simulaton Trace command
« on: January 07, 2015, 09:32:00 pm »
Hello,

Can someone explain what the Simulation command "trace" does? We can't find any documentation in the EAhelp anywhere.

An example is:

  Trace("var: " + sim.Test);
« Last Edit: January 07, 2015, 09:34:53 pm by k2901 »

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Simulaton Trace command
« Reply #1 on: January 08, 2015, 09:04:56 am »
From the Help:

The Trace(statement) method allows you to print out trace statements at any arbitrary point in your simulation. This is an excellent means of supplementing the Simulation log with additional output information during execution.
Best Regards, Roy

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Simulaton Trace command
« Reply #2 on: January 08, 2015, 07:34:08 pm »
Could you confirm where the output from the Trace command is shown please?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Simulaton Trace command
« Reply #3 on: January 12, 2015, 08:26:36 am »
From memory it goes to the Simulation docked window.