<br />
<b>Notice</b>:  unserialize(): Error at offset 146 of 1985 bytes in <b>/home/sites/36a/8/83d4f69e32/public_html/support/wiki/includes/cache/localisation/LCStoreDB.php</b> on line <b>55</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/sites/36a/8/83d4f69e32/public_html/support/wiki/includes/cache/localisation/LocalisationCache.php</b> on line <b>422</b><br />
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mcs.woodward.com/support/wiki/index.php?action=history&amp;feed=atom&amp;title=MotoHawk%3ABlocks%3AFind</id>
	<title>MotoHawk:Blocks:Find - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mcs.woodward.com/support/wiki/index.php?action=history&amp;feed=atom&amp;title=MotoHawk%3ABlocks%3AFind"/>
	<link rel="alternate" type="text/html" href="http://mcs.woodward.com/support/wiki/index.php?title=MotoHawk:Blocks:Find&amp;action=history"/>
	<updated>2026-08-18T17:30:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://mcs.woodward.com/support/wiki/index.php?title=MotoHawk:Blocks:Find&amp;diff=2037&amp;oldid=prev</id>
		<title>Wendy.Bolakowski: Created page with &quot;=Find First=  This MotoHawk™ block, given a set of Booleans, finds the first one that is set to true, and puts out the index of that input, with index starting with 0.  ==Bl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://mcs.woodward.com/support/wiki/index.php?title=MotoHawk:Blocks:Find&amp;diff=2037&amp;oldid=prev"/>
		<updated>2012-09-10T17:24:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Find First=  This MotoHawk™ block, given a set of Booleans, finds the first one that is set to true, and puts out the index of that input, with index starting with 0.  ==Bl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Find First=&lt;br /&gt;
&lt;br /&gt;
This MotoHawk™ block, given a set of Booleans, finds the first one that is set to true, and puts out the index of that input, with index starting with 0.&lt;br /&gt;
&lt;br /&gt;
==Block ID==&lt;br /&gt;
&lt;br /&gt;
Find First&lt;br /&gt;
&lt;br /&gt;
==Library==&lt;br /&gt;
&lt;br /&gt;
MotoHawk_lib/Extra Development Blocks&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
[[Image:Find.PNG]]&lt;br /&gt;
&lt;br /&gt;
If no input is set to true, the output is  -1. The option, 'Input as Vector', performs the same operation on a vector of Booleans, instead of individual ports. When 'Input as Vector' is unchecked, the operation can be vectorized. When 'Input as Vector' is checked, set 'Number of Inputs' to -1, to let the vector width be dynamically determined by downstream blocks, or provide a number to constrain the size.&lt;br /&gt;
&lt;br /&gt;
==Block Parameters==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;TableMHStyle&amp;quot;&lt;br /&gt;
! class=&amp;quot;TableHeaderTDStyle&amp;quot; style=&amp;quot;width: 172px&amp;quot; | Parameter Field&lt;br /&gt;
! class=&amp;quot;TableHeaderTDStyle&amp;quot; style=&amp;quot;width: 158px&amp;quot; | Values&lt;br /&gt;
! class=&amp;quot;TableHeaderTDStyle&amp;quot; style=&amp;quot;width: 299px&amp;quot; | Comments/Description&lt;br /&gt;
|- id=&amp;quot;num_inputs&amp;quot;&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 172px&amp;quot; valign=&amp;quot;top&amp;quot; | Number of Inputs&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 158px&amp;quot; valign=&amp;quot;top&amp;quot; | Positive Integer&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 299px&amp;quot; valign=&amp;quot;top&amp;quot; | Set number of input ports&lt;br /&gt;
|- id=&amp;quot;input_vector&amp;quot;&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 172px&amp;quot; valign=&amp;quot;top&amp;quot; | Input as Vector&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 158px&amp;quot; valign=&amp;quot;top&amp;quot; | Check box (enable)&lt;br /&gt;
| class=&amp;quot;TableTDStyle&amp;quot; style=&amp;quot;width: 299px&amp;quot; valign=&amp;quot;top&amp;quot; | Select to perform same operation on a vector (array) of Boolean values).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wendy.Bolakowski</name></author>
		
	</entry>
</feed>