IsEventActive

Is Event active

    IsEventActive

Library

StateMachine

Description

GetEvent and SetEvent blocks are based on Base library blocks GetActivationSignal and SetActivationSignal blocks, and are used to communicate activation signals (events). The GetActivationSignal provides an event only if the named event occurs and the block is activated, synchronously. The IsEventActive block is a slight variation on this block, presenting the result as a regular signal: when activated, it outputs 1 if the named event is activated, 0 if not.

Parameters

IsEventActive_0

NameLabelDescriptionData TypeValid Values

E

Event name

String

Ports

NameTypeDescriptionIO TypeNumber

Port 1

activation

input

1

Port 2

explicit

output

1

Diagram

IsEventActive