Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
scott@scottelford.biz  
#1 Posted : Saturday, June 10, 2017 3:06:36 AM(UTC)
scott@scottelford.biz

Rank: Advanced Member

Groups: Registered
Joined: 5/31/2017(UTC)
Posts: 67
Australia

Thanks: 1 times
Was thanked: 8 time(s) in 8 post(s)
Could we add these Boolean operators in the style of the of the multi step but with the input added / removed with single output activation?

Edited by user Saturday, June 10, 2017 3:07:20 AM(UTC)  | Reason: Update more info

EmbrioAdmin  
#2 Posted : Saturday, June 10, 2017 7:36:47 AM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Yes good idea.

Here is a quick AND node I put together, is this what you mean?

I'll make one for OR and NOT, make some icons, and add them to the flow control tab in next release.

<EmbrioCopy>
<Version>2.0.9.0</Version>
<Name></Name>
<UniqueID>00000000-0000-0000-0000-000000000000</UniqueID>
<Description></Description>
<NodeColor>128,128,128,255</NodeColor>
<IsBuiltIn>False</IsBuiltIn>
<ImageByteArray></ImageByteArray>
<Nodes>
<Node>
<UniqueID>bdd3476a-6d66-40d8-8c74-c266d9efeb3e</UniqueID>
<NodeType>Dynamic</NodeType>
<NodeName>Node Definition</NodeName>
<UserDefinedName></UserDefinedName>
<Description></Description>
<NodeColor>201,227,222,255</NodeColor>
<X>0</X>
<Y>0</Y>
<Width>260</Width>
<DefinitionID>5b48e7b2-9166-4cf5-b4b7-e0d5ac804060</DefinitionID>
<EditingProperties>
<IsInEditMode>False</IsInEditMode>
<CodeHeight>300</CodeHeight>
<EditedLanguage>CSharp</EditedLanguage>
<IsEditingIODefinitions>False</IsEditingIODefinitions>
<UpdateCodeDefinitionID>541db9c6-23de-4513-9d09-502c9a1dff85</UpdateCodeDefinitionID>
</EditingProperties>
<SetLength>0</SetLength>
<SetInputs></SetInputs>
<SetOutputs></SetOutputs>
<Inputs>
<Input>
<UniqueID>53132dc7-c19c-4590-8655-1bfad408bc72</UniqueID>
<DefinitionID>3cbb0614-9477-4c36-bb2b-23331a988655</DefinitionID>
<DefaultName>Activation 1</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<ConnectedOutputs></ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
<Input>
<UniqueID>9e529d38-7000-4d0a-9a47-849562cdab2e</UniqueID>
<DefinitionID>30d91a1e-c48c-424e-9893-fc26ca28876f</DefinitionID>
<DefaultName>Activation 2</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<ConnectedOutputs></ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
</Inputs>
<Outputs>
<Output>
<UniqueID>840bde4f-8e1d-47a1-9ded-5c80f55e54d6</UniqueID>
<DefinitionID>a34c513e-2883-43b9-be44-ee47c6ad8864</DefinitionID>
<DefaultName>Activation</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeOutput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<MinValue>0</MinValue>
<MaxValue>1</MaxValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Output>
</Outputs>
</Node>
</Nodes>
<NodeDefinitions>
<Definition>
<Name>AND</Name>
<SoftwareVersion>2.0.9.0</SoftwareVersion>
<UniqueID>5b48e7b2-9166-4cf5-b4b7-e0d5ac804060</UniqueID>
<Description></Description>
<UseIOSet>False</UseIOSet>
<InputDefinitions>
<InputDefinition>
<Type>Embrio.NodeEngine.Definitions.NumericNodeInputDefinition</Type>
<Name>Activation 1</Name>
<UniqueID>3cbb0614-9477-4c36-bb2b-23331a988655</UniqueID>
<IsOutsideConnection>False</IsOutsideConnection>
<IsInIOSet>False</IsInIOSet>
<IsUserAdded>True</IsUserAdded>
<NumericDisconnectedValue>0</NumericDisconnectedValue>
<NumericUseNegativeRange>False</NumericUseNegativeRange>
<BlendMode>Add</BlendMode>
</InputDefinition>
<InputDefinition>
<Type>Embrio.NodeEngine.Definitions.NumericNodeInputDefinition</Type>
<Name>Activation 2</Name>
<UniqueID>30d91a1e-c48c-424e-9893-fc26ca28876f</UniqueID>
<IsOutsideConnection>False</IsOutsideConnection>
<IsInIOSet>False</IsInIOSet>
<IsUserAdded>True</IsUserAdded>
<NumericDisconnectedValue>0</NumericDisconnectedValue>
<NumericUseNegativeRange>False</NumericUseNegativeRange>
<BlendMode>Add</BlendMode>
</InputDefinition>
</InputDefinitions>
<OutputDefinitions>
<OutputDefinition>
<Type>Embrio.NodeEngine.Definitions.NumericNodeOutputDefinition</Type>
<Name>Activation</Name>
<UniqueID>a34c513e-2883-43b9-be44-ee47c6ad8864</UniqueID>
<IsOutsideConnection>False</IsOutsideConnection>
<IsInIOSet>False</IsInIOSet>
<IsUserAdded>True</IsUserAdded>
<NumericUseNegativeRange>False</NumericUseNegativeRange>
</OutputDefinition>
</OutputDefinitions>
<UpdateCodes>
<UpdateCode>
<UpdateCondition>Declaration</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code></Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>797c538b-b665-4aa2-9e1a-20fc467f5485</UniqueID>
</UpdateCode>
<UpdateCode>
<UpdateCondition>Startup</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code></Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>d64039fd-f674-4c9c-a273-bdaffbfcfa48</UniqueID>
</UpdateCode>
<UpdateCode>
<UpdateCondition>EveryUpdate</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code></Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>6d8c034a-8060-4e44-b21b-0e47f5ea78cd</UniqueID>
</UpdateCode>
<UpdateCode>
<UpdateCondition>Shutdown</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code></Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>5c6d6f0d-5971-4363-be59-42e8540fc27e</UniqueID>
</UpdateCode>
<UpdateCode>
<UpdateCondition>None</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code></Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>b75f7ce2-dac0-4602-9f63-1de33f145231</UniqueID>
</UpdateCode>
<UpdateCode>
<UpdateCondition>InputChange</UpdateCondition>
<CodeImplementations>
<Implementation>
<Code>if (Input_Activation1 &amp;gt; 0.5 &amp;amp;&amp;amp; Input_Activation2 &amp;gt; 0.5)
{
Output_Activation = 1;
}
else
{
Output_Activation = 0;
}</Code>
<Language>CSharp</Language>
</Implementation>
</CodeImplementations>
<UniqueID>541db9c6-23de-4513-9d09-502c9a1dff85</UniqueID>
<Inputs>
<Input>30d91a1e-c48c-424e-9893-fc26ca28876f</Input>
<Input>3cbb0614-9477-4c36-bb2b-23331a988655</Input>
</Inputs>
</UpdateCode>
</UpdateCodes>
<NodeColor>201,227,222,255</NodeColor>
<IsBuiltIn>False</IsBuiltIn>
<TouchesPin>False</TouchesPin>
<IsLanguageLocked>True</IsLanguageLocked>
<CategoryName>Project</CategoryName>
</Definition>
</NodeDefinitions>
</EmbrioCopy>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error