Enter tag's value

<< Click to Display Table of Contents >>

Navigation:  Examples > Change the text of an object >

Enter tag's value

Previous pageReturn to chapter overviewNext page

In this example, we want to show how we can set the value of a tag using the Output Value property, and display the specified value on the screen using the Text Intput property.

 

1. Create a tag named Temperature:

 

clip0038

 

 

 

 

2. Create a Text/EditField object (you can use other objects that have the “Output Value” property):

 

textlabelcommon

 

3. Set up the Output value property. Open the Object properties, go to the “Output value” tab, bind the tag to which we will set the value, and enter a Title for the dialog box:

 

outputvalueex

 

4. Using this object, we will immediately display the specified value for the tag; to do this, we will configure the “Text Input” property:

 

clip0039

5. Let's Run simulation to check the settings:

 

outputtagspropert

 

You can download this project here.