MotoHawk:Blocks:Input Capture Get
From MotoHawk
Jump to navigationJump to searchInput Capture Get
This MotoHawk™ block retrieves the last pulse width reported by the Input Capture behavior.
Block ID
Input Capture Get
Library
MotoHawk_lib/Advanced Digital I/O
Description
Use this block to retrieve the last pulse width reported by the Input Capture behavior. The units are in microseconds.
Optionally, the period may also be reported. This is also reported in microseconds. Also, the pin state (high or low) may be reported as well. 0 is low and 1 is high.
Block Parameters
Parameter Field | Values | Comments/Description |
Name | Alpha-numeric text, single-quote enclosed | Name the input capture resource, must match exactly that in the Input Capture Definition block. No special characters, such as spaces, dashes, commas (underscore allowed). |
Output Period | Checkbox (enable) | Select to enable output period report (in microseconds). |
Output Pin State | Checkbox (enable) | Select to enable pin state report. |