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

From SoftMC-Wiki
Jump to: navigation, search
m
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
|SYNTAX= <pls>.HWIOtime[<index>]
+
|SYNTAX=  
|AVAILABILITY= 4.7.2
+
<pls>.HWIOTIME[<[''index''>]<br>
 +
Where index = 1 to <motion buffer size>  x <PLS motion buffer>
 +
 
 +
|AVAILABILITY= Version 4.7.8 and later
 
|DESCRIPTION=
 
|DESCRIPTION=
Returns the current state of the hardware time buffers, if nothing assigned -1 is returned, else the time in microseconds inside the current sample when the PLS will be triggered
+
Debugging variable.<br>
 +
Returns the contents of the hardware 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= -1 ... MAXLONG
+
|RANGE=  
 +
-1 to <motion bus cycle time in µs>
 +
 
 
|UNITS=  microseconds
 
|UNITS=  microseconds
|DEFAULT=
+
|DEFAULT= -1
 
|SCOPE= Terminal/Task
 
|SCOPE= Terminal/Task
 
|LIMITATIONS=
 
|LIMITATIONS=
|EXAMPLE= ?P1.HWIOtime[1]
+
 
 +
Read only
 +
 
 +
must query HW_PLS_DEBUG_LVL_SET(2,0,0)
 +
|EXAMPLE=  
 +
lDummy = HW_PLS_DEBUG_LVL_SET(2,0,0)
 +
 
 +
?P1.HWIOtime[1]
 +
 
 
|SEE ALSO=
 
|SEE ALSO=
[[AXY:MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br>
+
[[MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br>
[[Axystems:PLS_timing_issues| PLS Timinig Issues]]
+
[[PLS Timing Issues| PLS Timinig Issues]]
  
 
}}
 
}}

Latest revision as of 08:24, 11 October 2018

Debugging variable.
Returns the contents of the hardware 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>.HWIOTIME[<[index>]
Where index = 1 to <motion buffer size> x <PLS motion buffer>

Availability

Version 4.7.8 and later

Type

long

Range

-1 to <motion bus cycle time in µs>

Units

microseconds

Default

-1

Scope

Terminal/Task

Limitations

Read only

must query HW_PLS_DEBUG_LVL_SET(2,0,0)

Examples

lDummy = HW_PLS_DEBUG_LVL_SET(2,0,0)

?P1.HWIOtime[1]

See Also

PLSdelaytime
PLS Timinig Issues