Difference between revisions of "MC-Basic:pls.PLSdelaytime"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
|SYNTAX= <pls>.PLSdelaytime[<index>]
+
 
|AVAILABILITY= 4.7.8
+
|SYNTAX=  
|DESCRIPTION= Returns the current state of the PLS time buffers, if nothing assigned -1 is returned, else the time in microseconds inside the current sample when the PLS will be triggered.
+
<pls>.PLSDelayTime[<''index''>]<br>
 +
Where index = 1 to <motion buffer size>  x <PLS motion buffer>
 +
 
 +
 
 +
|AVAILABILITY=  
 +
Version 4.7.8 and later
 +
 
 +
|DESCRIPTION=  
 +
Debugging variable.<br>
 +
Returns the contents of the '''PLS''' time buffer. The returned value is the time within the current sample at which the PLS event will occur.<br>
 +
Returns -1 if the sample does not contain a PLS.
 +
 
 
|TYPE= long
 
|TYPE= long
 +
 
|RANGE=
 
|RANGE=
 +
-1 to maxLong
  
<index>: 0 ... Sercos buffer X PLS motion buffer (=40)
+
|UNITS=
 
+
microseconds
<pls>.PLSdelaytime[<index>]: -1, 0 to maxLong
 
  
|UNITS= microseconds
+
|DEFAULT= -1  
|DEFAULT= -1 (no pls in the sample)
 
 
|SCOPE= Terminal/Task
 
|SCOPE= Terminal/Task
 
|LIMITATIONS= Read only
 
|LIMITATIONS= Read only
 
|EXAMPLE= ?P1.PLSdelaytime [1]
 
|EXAMPLE= ?P1.PLSdelaytime [1]
 
|SEE ALSO=
 
|SEE ALSO=
[[Axystems:MC-Basic:pls.HWIOtime| HWIOtime]]<br>
+
[[MC-Basic:pls.HWIOtime| HWIOtime]]<br>
[[Axystems:PLS_timing_issues| PLS Timinig Issues]]
+
[[PLS Timing Issues| PLS Timinig Issues]]
  
 
}}
 
}}

Latest revision as of 08:29, 11 October 2018

Debugging variable.
Returns the contents of the PLS time buffer. The returned value is the time within the current sample at which the PLS event will occur.
Returns -1 if the sample does not contain a PLS.

Syntax

<pls>.PLSDelayTime[<index>]
Where index = 1 to <motion buffer size> x <PLS motion buffer>

Availability

Version 4.7.8 and later

Type

long

Range

-1 to maxLong

Units

microseconds

Default

-1

Scope

Terminal/Task

Limitations

Read only

Examples

?P1.PLSdelaytime [1]

See Also

HWIOtime
PLS Timinig Issues