MC-Basic:pls.HWIOtime

From SoftMC-Wiki
Revision as of 08:24, 11 October 2018 by Guy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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