csen

Frequently Asked Questions

On touch actions

On Touch Actions are used to modify the visual appearance of your component when a user touches it. Usage is very simple: when a user touches the component, the component can change its color or text to denote the action for the end user. When the user releases their touch, the component will return to its default look.

You can modify visibility, fill, and stroke color of any object in your component. Select the object you would like to modify based on user touch and, in Properties, fill in the On Touch section:

7.6.1

Example:

We will create a simple button that will change the background color on touch.

  • Create a new component with a rectangle inside
  • Enter in the text “Press me.”

7.6.2

  • Click on the rectangle and in Properties set the color to red in On Touch -> Fill

7.6.3

  • When you set the fill color, a new dialog is presented:

7.6.4

  • Save the component and insert it into a view
  • Now, you can test your component.
  • When a button is not pressed, it looks like this:

7.6.5

  • When a user is pressing the button, it looks like this:

7.6.6

Creating Complete Component:

In the following example, we will create a simple slide bar showing the variable progress and its Min and Max values. Create a new component and draw a rectangle, as seen in the picture below. Copy the selected rectangle and apply Paste on same location to it. Set the Fill property to “none” then put the element in the background with the function Lower to the background. We have now created a frame of the scale.

Now create 3 text fields; your component will look like this:

7.6.7

Now fill in the Component Variables as shown in the picture below:

7.6.8

As you can see, we have created 3 local variables. For the tag value, you have used a variable tag; for specifying the minimum and maximum values, you have used the min and max variables.

You can make indicator out of the rectangle by resizing it according to the value read from the PLC; set the Scale animation as shown in the following picture:

7.6.9

We also want to show the actual value in the middle of the slide bar. Click on the text field in the middle of the rectangle, select the Anim tab in the Properties window and click on the Tag (Address) field in the Show Value section. Then, fill in the Tag field with “tag,” which corresponds to our local variable name.

7.6.10

As you can see, we have used one of our local variables. You can use the same variable (especially the tag type) for multiple animations/effects to achieve a better effect. We will also show the Min and Max limits of our tag. Click on the right text field, then select the Rep. tab from the Properties window and set “max” for Text in the Replacements.

7.6.11

Now do the same for the other text field but place the min variable there. The final component should look like this:

7.6.12

Save the component and test its functionality.

Testing Component

Create a new view and open it, then navigate to the Library. Select your component and press the Insert button.

Now click on the component and look at the Properties window:

7.6.13

In the Component section, you can see all the local variables that you have defined.

Set the Tag (address) and the Minimum and Maximum values:

7.6.14

Now, save the view and send to a supported device; the screen should look as follows:

7.6.15

Didn't find what you were looking for?

Contact us.
CALL US
  • +420 541 217 220
Or write to us and we will get back to you.
  • Sales department
  • Technical support
  • Service / Complaints
  • Webmaster

AMiT Automation s.r.o.

  • info@amit-automation.cz
  • +420 541 217 220
    +420 549 210 403
    +420 549 210 276

Vídeňská 186/118

619 00 Brno

Czech Republic

Company ID: 276 52 203

TIN: CZ27652203

Česká rada pro šetrné budovy

MODERN ELECTRONICS FOR INDUSTRIAL AUTOMATION AND BUILDING AUTOMATION

Copyright © — AMiT Automation
Login and registration
By registering, you agree to our terms and conditions and the processing of personal data.

We often send out our newsletter with news and great offers. We will never disclose your data to third parties and you can unsubscribe from the newsletter at any time.

Unfortunately, we’re unable to offer free samples. As a retailer, we buy all magazines from their publishers at the regular trade price. However, you could contact the magazine’s publisher directly to ask if they can send you a free copy.

You can create a new account at the end of the order process or on the following page. You can view all of your orders and subscriptions in your customer account. You can also change your addresses and your password.

No, you don’t have to create an account. But there are a few advantages if you create an account.

  • You never have to enter your billing and shipping address again

  • Find all of your orders, subscriptions and addresses in your account

  • Download invoices of your orders

No, we don’t have a physical store location at the moment. We accept only orders through our online shop and we’re shipping all orders with the Swiss Post Service. Please visit our shipping section for more details.

From time to time you will find us at design fairs and popup markets in Switzerland. Subscribe to our newsletter and you’ll receive the latest news.

Tab Content

This is a basic text element.
Login and registration
By registering, you agree to our terms and conditions and the processing of personal data.

We often send out our newsletter with news and great offers. We will never disclose your data to third parties and you can unsubscribe from the newsletter at any time.

Unfortunately, we’re unable to offer free samples. As a retailer, we buy all magazines from their publishers at the regular trade price. However, you could contact the magazine’s publisher directly to ask if they can send you a free copy.

You can create a new account at the end of the order process or on the following page. You can view all of your orders and subscriptions in your customer account. You can also change your addresses and your password.

No, you don’t have to create an account. But there are a few advantages if you create an account.

  • You never have to enter your billing and shipping address again

  • Find all of your orders, subscriptions and addresses in your account

  • Download invoices of your orders

No, we don’t have a physical store location at the moment. We accept only orders through our online shop and we’re shipping all orders with the Swiss Post Service. Please visit our shipping section for more details.

From time to time you will find us at design fairs and popup markets in Switzerland. Subscribe to our newsletter and you’ll receive the latest news.

Tab Content

This is a basic text element.
Delete account?
Are you sure you want to delete your account?

This action cannot be undone.
Billing and shipping details

You must be logged in to view this form.

Forgot password

Enter your e-mail address and we will send you a link to reset your password.

Add to list
+ Add new list