MotoHawk:Blocks:Frequency In Reference

From MotoHawk
Jump to navigationJump to search

Frequency Input Reference

This MotoHawk™ block determines the frequency of a digital input signal.

Block ID

motohawk_frequency_in_read

Library

MotoHawk_lib/Advanced Digital I/O

Description

Frequency In Reference.PNG

The output signal is in units of 0.01 Hz, and is based on the last sample period from edge to edge, with a data type of uint32. If "Get Duty Cycle" is selected, then the Frequency In block must set up the resource to read duty cycle. Choose the resource name (specified in the Frequency Input block) to specify the input channel to reference.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, quote enclosed Choose the resource name (specified in the Frequency Input block) to specify the input channel to reference. No special characters, such as spaces, dashes, commas (underscore allowed).
Get Duty Cycle Measurement Select whether or not to set up duty cycle measurement.
No Duty Cycle Measurement Disable duty cycle measurement.
Get Duty Cycle Measurement With this option selected, the Frequency In block must set up the resource to read duty cycle. Note: Using the duty cycle option adds additional CPU usage.