Gets the time and date of the trend (plotted by a specified pen) at a percentage along the trend, using the time and date of the right-most sample displayed. The time associated with the rightmost sample displayed is known as the end time. The start time is the time of the left-most sample displayed. Percent 0 (zero) will correspond to the end time, and Percent 100 will correspond to the start time.
TrnGetTime(AN, Pen, Percent)
The AN of the chosen trend.
The trend pen number:
0 - The pen currently in focus
1...8 - Pen1. . .Pen8
The percentage of the trend from the time and date of the right-most sample displayed (end time), from 0 to 100.
A time/date variable. 0 (zero) is returned if an error is detected.
! For the trend at AN20
! Displays the trend current date for the focus pen.
! Displays the trend current time for the focus pen.
! Displays the time 50% along the trend for the focus pen.