After dragging over the desired time range, the time range for processing can be locked as shown in Figure 6.
Figure 6: Click on the “Use Segment for Processing” button to lock in the segment duration.
It is a two-step process:
Highlight the time history in the list on the right side.
Press the “Use segment for processing” button
After pressing the button, the Processing Segment should reflect the highlighted segment.
Now the segment can be stored into a new file as shown in Figure 7.
Figure 7: Choose the “Save As…” button in lower left corner, click on “Save Processing Segment only” and press OK.
Use the following steps:
Click on the “Save As…” button in the lower left.
Highlight the measurements to be saved (if there are multiple, be sure they are all highlighted)
Click on “Save Processing segment only”
Choose “Use new run name” and to give the segment to be saved a name
That is it! The segment is stored as a new run in the active Simcenter Testlab project file.
5. Setting Segment Beginning to Zero
After saving the segment, the time annotation reflects the the original time file. For example, the saved segment in Figure 8 starts at 6.23 seconds.
Figure 8: The saved segment starts at 6.23 seconds, not zero seconds.
Instead of using the original time stamp of 6.23 seconds it might be desired to set the starting time to zero seconds. This can be done with the SETXSTART function in the Time Signal Calculator.
To activate the function, turn on "Time Signal Calculator" under "Tools -> Add-ins" in Simcenter Testlab. The Time Signal Calculator uses 26 tokens and will be added in the lower left corner of the Time Data Selection worksheet as shown in Figure 9.
Figure 9: The Time Signal Calculator is added to the lower left corner of Time Data Selection workbook.
Add the SETXSTART in the formula field and enter parameters similar to as shown in Figure 10:
Figure 10: Using the SETXSTART formula, set the start value to "0". Setting the function1 to "CHx" and the "Repeat for" to "1:10" will do the first 10 channels of the time file. This can be adjusted as needed.
In the SETXSTART formula, enter the channel number as "CHx". Combining "CHx" with the "Repeat for" allows multiple channels to be set with zero as the start time.
Note that the "Id" field can be set to the same channel as the input, so the file is directly updated. This means the first number (1 in this case) in repeat for matches the Id (CH1 in this case).
Once the formula is in place, click on the "Calculate' button in the lower left. The screens data list so show that the segments start with zero seconds as shown in Figure 11:
Figure 11: Press the "Calculate" button so set the segment beginnings to zero. Then press the "Save" button to store the results.
Press the "Save" button when satisfied that the segments are set to zero. This will update the segment time history file.