Component Prototype

Description

Logical Component

 

Generic Logical Component. The number of in-slots is configurable in the component as well as the type of logical operation (AND, OR, NAND, NOR, XOR, NOT)

In-slots

Name

Type

Description

in

booleanVector

A vector of boolean input values of the Logical component

Out-slots

Name

Type

Description

out

boolean

Logical result of the operation selected

inSlotActivated

integer

First marker detected when the out is true

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

option

string

Logical operation selected (in Capital Letters): AND, OR, NAND, NOR, XOR, NOT (NOT is only possible when the number of in-slots equals 1)

numElements

integer

Number of inputs component