![background image](http://html.mh-extra.com/html/panasonic/hmwin/hmwin_user-manual_280071371.webp)
var state = new State();
var value = project.getTag("Tag1", state, 0);
if (state.isQualityGood()) {
// do something…
}
(Available on web pages)
Keywords
Global objects are predefined and can be referenced by the following names.
page
object page
References the page object for the current page.
function btnStd04_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
var name = wgt.objectName;
}
project
object project
References the project widget.
var group = new Group();
project.getGroup("GroupName", group);
var value = group.getCount("Tag1");
Global functions
void print( message )
Prints a message to the HMI Logger window.
Parameter
Description
message
Message string
print("Test message");
HMWIN Studio | User Manual | v206 (2017-06-30) | EN | © 2014-2017 Panasonic Electric Works Europe AG
369
35 JavaScript
Summary of Contents for HMWIN
Page 166: ...164 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 258: ...256 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 380: ...378 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 439: ......