Promotic

NetGetTime - method of the AtouchX object

Description:
Reads the time of the station.
The method reads the station time. The reading takes place asynchronously, 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 event is also passed the Param value, 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 values:
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.21 SCADA system documentation - MICROSYS, spol. s r.o.

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