vsTASKER 7 User Manual
×
Menu
Index

Properties

 
Properties
1

Name

1. Name
Name of the Strip. Must be unique whatever its type.
vsTASKER will generate a class whose name will be <Name>_Spt. For the moment, this class will inherit from Vt_Sprite class.
Any Sprite can be accessed using its name in a generated union named s.
 
2

Way

2. Way
Select here the motion that will be applied on the texture:
 
  • Vertical: strip moving up and down
  • Horizontal: strip moving left and right.
 
3

Sight

3. Sight
Select here if nicks must be used in the middle of the peek window:
 
  • None: not displayed
  • Left/Up: according to the Way, only on one side
  • Right/Down: according to the Way, on the other side
  • Both: both side (see picture below)
Color used for the nicks is yellow by default.
4

Line of Sight

4. Line of Sight
If checked, the peek window will display in its middle a vertical or horizontal dashed line, as in the picture below:
Color used for the line is yellow by default.
5

Circular

5. Circular
When checked, the value given using set() will be modulo [Min..Max]. For i.e, set(181) with bounds defined as [-180,180] will give value -179.
If unchecked, the value set() will be bound by [Min..Max]. For i.e, set(180) with bounds defined as [-180,180] will give value 180.
 
6

Minimize Display

6. Minimize Display
When checked, the strip (texture) is not displayed on the HMI at design. Only the viewing window is displayed.
To display the strip, select it first.
If unchecked, strip (texture) is always displayed.
 
7

Bounds

7. Bounds
Set here the values that correspond to the visual hooks of the strip.
The strip value is set using the set() function in the runtime code.
Unless Circular is checked, the value is always bounded into [Min..Max]
 
8

Visual Aspect

8. Visual Aspect
Call the Visual Aspect definition window.
 
9

Center

9. Center
Coordinates, in the HMI design panel, of the peek window center, materialized on the design display with:
The values can be changed here for perfect precision, or using the mouse by just selecting the hook and dragging it anywhere on the HMI.
 
10

Peek Window

10. Peek Window
Actual size in pixels of the peek Window.
The values can be changed here for perfect precision, or using the mouse by just selecting the vertical or horizontal hook and dragging it to resize.
 
11

Import/Export

11. Import/Export
Not available yet.
 
12

Definitions

12. Definitions
Put here all the local variables needed for this specific Sprite runtime computation.
 
13

Initialization

13. Initialization
Initialize here (mostly in RESET part) all the variables defined in Definition section.
Default set() can also be used here for putting the Sprite in a specific state.
 
14

Runtime

14. Runtime
Holds the runtime code called at every cycle (HMI cycling rate).
Use get() to retrieve the actual value of the Sprite (the one which actually controls the strip position between Minimum and Maximum values)
Use set() to force the value of the Sprite (and control the corresponding position of the strip).