Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Description

This object is being used to form a ‘Digital AND’ between two messages in an app.


App Builder Object


Source Code

function execute() {
  for (let i = 1; i < inPorts.length; i += 1) {
    if (!inPorts[i].value) {
      return [false];
    }
  }
  return [true];
}

Truth Table

In 1

In 2

Out

0

0

0

0

1

0

1

0

0

1

1

1


In Ports

Position

Name

Message Type

Description

1

Trigger

Trigger

This port is being used to trigger the comparison between In Port 2 and In Port 3.

2

In 1

Digital

This port is being used to receive the first digital message for the ‘Digital AND’ compare. The trigger option on this port is disabled by default.

3

In 2

Digital

This port is being used to receive the second digital message for the ‘Digital AND’ compare. The trigger option on this port is disabled by default.


Out Ports

Position

Name

Message Type

Description

1

Out

Digital

This port is being used to send out the result message of the ‘Digital AND’ compare once the object executes.


Properties

Name

Description

Object Name

The name of the object on the canvas.

Show Code View

The switch to turn on code view for the Code Object.

Duplicate code into custom Code Object

  • No labels