Difference between revisions of "AXY:MC-Basic:axis.TOTALTIME"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "mliseconds" to "milliseconds")
m
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Returns the total time of the currently executing motion. Values:
+
Returns the total time of the motion currently being executing.  
  
-1 no motion active
+
Values:
  
-2 not applicable (PrfType = 0 or 1)
+
-1 – No motion active
  
0 can not happen as there are no motions of zero duration
+
-2 – Not applicable (PrfType = 0 or 1)
  
> 0 total time of running motion
+
0 –  Cannot happen as there are no motions of zero duration
 +
 
 +
> 0 –  Total time of running motion
 +
 
 +
 
 +
{{Note| <font color="red">Note that in case of blending the '''TotalTime/CurrentTime''' of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.
 +
</font>}}
  
{{Note| Note that in case of blending the '''TotalTime/CurrentTime''' of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.}}
 
  
 
|TYPE=
 
|TYPE=

Revision as of 13:13, 19 March 2014

Returns the total time of the motion currently being executing.

Values:

-1 – No motion active

-2 – Not applicable (PrfType = 0 or 1)

0 – Cannot happen as there are no motions of zero duration

> 0 – Total time of running motion


NOTE-Info.svgNOTE
{{{1}}}

Short form

Ttime

Syntax

?Ttime

Availability

Versions 4.5.25 and higher

Type

Long

Range

-2-MaxInt

Units

milliseconds

Scope

Task, terminal

Limitations

Read-only

Examples

?totaltime