Chapter 12 KingView For Internet Application
Chapter 12 KingView For Internet Application
PC in Internet
Internet anywhere
(publish picture)
Director
Grouping is adopted for both publishing and browsing the Web in KingView 6.5. Pictures
can be opened in the same group, which loads and displays real time pictures. It has a new
authority level setting for remotely monitoring web connection and publication, picture display
arithmetic via internet browser. The Web edition increases the IE menu, status bar and other
shortcut functions for making the remote KingView browser and the local TouchView operate in
the same way. The new WEB functions expand upon the following existing functions:
Colour Support
Supports the transition?? colour fill and mode fill functions as well as the true colour and
various line types such as bold and dashed lines. The system also ensures real time visual
synchronization between KingView and Web system.
Report function
Increases the report control function of the Web edition and supports real time historical
reports, the built-in report function, and tags connection, calculating and evaluating values in
report cells, report printing and downloading the report.
Scripts Extension:
Extends the calculating and evaluating functions, local variables, structure variables,
increase variables fields, , IE picture printing , report printing, report statistics and the open and
close functions of the picture
Big picture Support
Support a big picture function meaning it can display pictures of any size in IE.
Remote Variables Support
You can refer to remote variables and display them locally. At the same time, you can see
Chapter 12 KingView For Internet Application 3
You need to know the port number when you browse IE you therefore need to define the port
number before doing any web publishing, the definition process is as follows:
1. Double-click web in the project catalog display area on the left side of
TouchExplorer the following port setting dialogue box will popup as figure 12-2 shows:
The port number is the number of port connections between IE and TouchView, the default
number is 80. If a defined port number collides with another application you are able to modify
it.
Chapter 12 KingView For Internet Application 4
Graph publishing
KingView 6.5 can publish graph from different groups. Each group can be configured with
independent security access and browsed by different client groups. The graph publishing
process is:
1. Select web from the project catalogue display area on the left side of the
TouchExplorer window, double-click the new icon on the right of the project catalogue
display area, the configuration dialogue box for graph publishing is as figure 12-3 shows:
Group name is defined by the user and is the Web identification for the publishing group.
It is made up of a combination of English letters and digits, and the group name cant be repeated
in one project.
To use KingView Web functions you need to install a JPE plug-in. If you do not install a JRE
Plug-in, the system will automatically download a JRE interface when you browse the graph for
the first time, if you install the plug-in successfully, you can browse the web. The plug-in is
installed only once and then kept in a system. 3. Select the group name group and the dialogue
box for security setting warnings appears as figure 12-5 shows:
Click the yes button, the system will install the JRE plug-in automatically the progress of
the installation will be displayed.3. You can browse the published graph the JRE plug-in has been
installed as figure 12-6 shows:
Supported functions
String Functions:
Dtext(), StrArcII(), StrChar(), StrFromInt(), StrFromReal(), StrFromTime(), StrInStr(),
StrLeft(), StrLen(), StrLower(), StrMid(), StrReplace(), StrRight(), StrSpace(), StrToInt(),
StrToReal(), StrTrim(), StrType(), StrUpper(), Text()
Mathematic Functions:
Abs(), ArcCos(), ArcSin(), ArcTan(), Cos(), Exp(), Int(), LogE(), LogN(), Max(), Min(), PI(),
Pow(), Sgn(), Sin(), Sqrt(), Trunc(), Bit(), BitSet(), Average(), Sum()
Historical Trend Functions:
HTGetPenName(), HTGetPenRealValue(), HTGetTimeAtScooter(), HTGetvalue(),
HTGetValueAtScooter(), HTGetValueAtZone(), HTScrollLeft(), HTScrollRight(),
HTSetLeftScooterTime(), HTUpdateToCurrentTime(), HTZoomIn(), HTZoomOut(),
SetTrendPara()
Report Functions:
ReportGetCellString(), ReportGetCellValue(), ReportGetColumns(), ReportGetRows(),
ReportPrint2(), ReportSetCellString(), ReportSetCellSring2(), ReportSetCellValue(),
ReportSetCellValue2(), ReportSetHistData()
Chapter 12 KingView For Internet Application 7
System Functions:
HTConvertTime(), ShowPicture(), ClosePicture(), HidePicture(), LogOn(), Ack(),
PrintWindow()
Review
1. Understand the definition of web publishing.
2. Be able to publish a page layout (such as an animated connection graph).
3. Be able to login and operate remote control on other computers connected via the
internet.