Difference between revisions of "MC-Basic:pls.HWIOtime"
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
− | |SYNTAX= <pls>. | + | |SYNTAX= |
− | |AVAILABILITY= 4.7.8 | + | <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 | + | 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= | |RANGE= | ||
− | < | + | -1 to <motion bus cycle time in µs> |
− | |||
− | |||
|UNITS= microseconds | |UNITS= microseconds | ||
− | |DEFAULT= -1 | + | |DEFAULT= -1 |
|SCOPE= Terminal/Task | |SCOPE= Terminal/Task | ||
|LIMITATIONS= | |LIMITATIONS= | ||
Line 26: | Line 30: | ||
|SEE ALSO= | |SEE ALSO= | ||
[[MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br> | [[MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br> | ||
− | [[ | + | [[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]