Common multiple text change

<< Click to Display Table of Contents >>

Navigation:  Examples > Change the text of an object >

Common multiple text change

Previous pageReturn to chapter overviewNext page

If we want to multiple change text depending on tag's value we have to choose Tag.PV in the range type in Text input property. Let's create like in previous example tag - State:

tagstate

In this example we use Text/Edit Field and change its text depending on the tag's value:

State

Text

0

STOP

1

START

2

WARNING

3

DAMAGE

To do this setup Text input property:

commonmultpletext

And setup ranges like this:

textrangemul

Click OK to confirm your changes and Run simulation to check your settings:

textinputmul