Project example – Lenze VisiWinNet VisiWinNET Smart Benutzerhandbuch
Seite 216

Project example
Recording process data (archive system)
l
216
SHP−VWNS DE/EN 6.1
4. Click the [...] command button in the "Trend Variable" column to open the "Select
variable" dialog.
5. Select a variable, e.g. "SawTooth1".
The process value has now been specified. Now, it is only necessary to specify how the
recorded values are displayed in the application.
6. Click the Design node to create a new FTrend form. Under FormBorderStyle, assign
the value Fixed Dialog to its properties. (
¶ 180)
The form is then shown as a dialog with the standard Windows command buttons for
controlling the size of the window. You can use the buttons to close the dialog and
change to the window from which it was called.
7. On the FCenter form, create a command button that calls up this dialog (
¶ 182).
Properties for control elements
No. Control element
type/Property
Value
Comments
1
CommandButton
Display/Text
FTrend
VisiWinNET/Command
ShowForm(FTrend)
8. On the FTrend form, place a control element of the type Trend Chart ("System"
section).
If you use a mouse−click to position the control element, you then have to make it larger
by pulling on it by its "sizing handle" until the chart is the desired size..
9. In the "TrendChart tasks" task menu which now appears, click Curves
(VisiWinNet.Forms ...).
)
Note!
The tasks menu is closed as soon as you left−click somewhere outside the
menu. You can open it again by marking the control element and clicking the
small button
[at the upper edge of the control element.