Promotic

NetGetTime - method of the AtouchX object

Description:
Reads the time of the station.
The method reads the station time. The reading is asynchronous, after the reading is finished the EndNetGetTime event is triggered, which reports the result of the communication and the read time directly in the VBA format. The Param value is also passed To the event, which is used by the user for identification.
Syntax:
Integer NetGetTime(Long Station, Variant Param)
Parameters:
Station(Long) Number of the station from which the time is to be read.
Param(Variant) The value that is passed unchanged to the end of reading time event.
Return value:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nStation = 2;
var nParam = 100;
var nState = oATC.NetGetTime(nStation, nParam);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.