Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Products
  • Automation Systems
  • Human Machine Interfaces (HMI)
  • NA

How to use the ResizeHeight or ResizeWidth Animations for NA5

Written by Barbara Garnier-Jay

Updated at March 17th, 2022

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More

Description

NA5 Series programmable terminals offer multiple animations to change the status of objects (such as the visibility, colour, angle, size...) according to the value of an Expression.

ResizeHeight and ResizeWidth allow, respectively, to resize the height and the width of an object based on the value of the Expression parameter. The object's dimension is scaled based on the MinimumValue and MaximumValue parameters, with MinimumSize and MaximumSize as the actual minimum and maximum size of the object (in pixels).

Example

In the example below, the height of the button will change between 20 pixels and 220 pixels proportionally to the value of "myButtonHeight", which will be between 0 and 100:

- when myButtonHeight = 0, the button will be 20 pixels tall.
- when myButtonHeight = 50, the button will be 120 pixels tall.
- when myButtonHeight = 100, the button will be 220 pixels tall.

Simulation


resize resizeheight resizewidth na na5 hmi sysmac studio

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • NA Screen - Switch to the Home Screen after x time of inactivity
  • Step by Step Guide - NA5 remote monitoring/operation via VNC
  • How to Use Special Characters in Sysmac
  • Obtaining your NA HMI IP address at runtime
  • How to Create Character Literals in Sysmac

Definition by Author

0
0
Expand