HTGetTimeAtScooter() Function
- Last UpdatedFeb 22, 2017
- 1 minute read
The HTGetTimeAtScooter() returns the time in seconds after 00:00:00 hours GMT, January 1, 1970 for the sample at the scooter location specified by the ScootNum and ScootLoc arguments.
Category
Historical
Syntax
IntegerResult=HTGetTimeAtScooter(Hist_Tag, UpdateCount,ScootNum,ScootLoc);
Arguments
Hist_Tag
HistTrend tag assigned the name of the trend.
UpdateCount
Integer representing the trend's .UpdateCount dotfield.
ScootNum
Integer representing the left or right scooter:
1=Left Scooter
2=Right Scooter
ScootLoc
Real number representing the value at the .ScooterPosRight or .ScooterPosLeft positions on the trend.
Remarks
Any changes to the values assigned to the UpdateCount, ScootNum, and ScootLoc arguments cause the expression to be evaluated. This ensures the expression is evaluated after new data retrievals or after a scooter is moved.
Example
The following statement retrieves the time in seconds for the value at the current left scooter location of the Trend1 trend:
HTGetTimeAtScooter("Trend1",Trend1.UpdateCount,1, Trend1.ScooterPosLeft);