User Manual
Web Server
Options
Property Type Description Argument
De-
fault
refreshInterval Int Therefreshintervaloftagvalues
inms. Forperformance reasons
itisrecommendednottouse low
valuesforthis setting.
Optional 5000
refreshMode String Overridesthedefault refresh
modeoftag values.
Acceptedmodesare: none,
onetime,interval.
Optional one-
time
refreshMode-
Setter
String Overridesthedefault refresh
modeoftagsetters.
Acceptedmodesare: none,
onetime,interval.
Optional one-
time
Example:
This example will set periodical refresh interval to 10 seconds, set the refresh mode
of HTML elements marked with the data-ix-tag attribute to interval and set the
refresh mode of HTML elements marked with the data-ix-setter attribute to
refresh only once.
iX.refreshElements
Refreshes the tag values of the pro
vided elements manually. The attribute
data-ix-refreshbutton can be us
ed to achieve the same function.
Note:
Onlyanelement thathaveb een markedwithavaliddata-ix-tag ordata-ix-settercan
berefreshed. Thevaluewill berefreshedregardlessoftherefreshmodesetonthe
element.
Parameters:
Name Type Description
elementIds Array Alistofstringsco n taining the HTML element
ids. Ifnot providedalltagelementsare
updated.
Example:
This example show how you programmatically can achieve the same behavior
as marking an element with data-ix-refreshbutton.Intheexample,the
HTML element with id "tag1Id" will be updated when the element with id
BeijerElectronics, MAEN831P
147