Frequency Input Set Pulse Count

This MotoHawk™ block is used with a Frequency Input block that is operating in the "Provide Trigger After N Pulses" mode to set the number of pulses to observe between triggers.

Block ID

Frequency Input Set Pulse Count

Library

MotoHawk_lib/Advanced Digital I/O

Description

This MotoHawk™ block is used with a Frequency Input Definition block that is operating in the "Provide Trigger After N Pulses" mode to set the number of pulses to observe between triggers (N). This block is especially needed when the Frequency Input Definition block has been located within its own Frequency Trigger because the Frequency Input block won't execute until there has been an edge, but the default number of pulses is zero on creation and so no edges can be observed. The set block provides a mechanism to set the number of pulses to a non-zero value from within another thread of execution (trigger). Most commonly this block would be placed in a start-up trigger if the pulse count was to be constant or within a time domain trigger if the pulse count will change at runtime.

Block Parameters

Parameter Field Values Comments/Description
Reference Name Alpha-numeric text, quote enclosed Enter reference to 'Name' specified in the Frequency Input Definition block.