Is There a Way to Print Out “Time” Twice in a Report?

« Go Back

Information

 
QuestionIs there a way to print out “Time” twice in a report?
Answer
To print two or more “Time” columns in a report, you need to edit an existing report style. In this example, you can create an LLA report for a satellite with two time columns. You need to perform these initial steps inside of STK. 
  1. Make sure to have a satellite object in your scenario.
  2. Open the Report & Graph Manager and for the satellite object create a new report by clicking the "Create new report style" icon.
  3. Rename the report style "TimeTimeLLA" and when you click outside the text box its properties will open.
  4. From the "LLA State" data providers, expand the Fixed folder and add Time, Lat, Long, and Alt to the report contents. This is so that you have some data associated with your time. Click OK to apply the changes and exit the Report Style.
The following steps take place outside of STK.
  1. Go to C:\Users\<your user name>\Documents\STK 12\Config\Styles\Satellite.
  2. Open the file TimeTimeLLA.rst in a text editor like Notepad++.
  3. Locate the lines of code that say:
BEGIN Line
        Name             Line 1
        NumElements        4
 
BEGIN Element
        Name             Time….
  1. Increase the NumElements value by one to 5.
  2. Copy the portion of code from the BEGIN Element Name Time to the END Element.
  3. Paste this section of code below the one you just copied.
  4. Save your changes and return to STK.
Reopen the report properties of the file you just changed. You can see that Time appears twice in the Report Contents. The next step is to change the units for Time. You can do this in two different ways.

Method 1

  1. In the report properties, highlight Time and click the Units button below the Report Contents list.
  2. Clear the “Use Default” check box and choose a new unit of time.
  3. Repeat this step for your other Time component. Apply your changes and generate a new report with two units of time.

Method 2

  1. Leave the report properties and generate the report.
  2. In the report that appears, you will see the new column of time.
  3. Highlight and right-click Time (UTCG). Go to Time > Units.
  4. Clear the “Use Default” check box and choose a new unit of time.
  5. Repeat this step for your other Time component. Now you have a report with two units of time.
TitleIs There a Way to Print Out “Time” Twice in a Report?
URL NameIs-there-a-way-to-print-out-Time-twice-in-a-report

Related Files