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. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oATC = pMe.Pm("/AtouchApp").Acx;
var nStation = 2;
var nParam = 100;
var nState = oATC.NetGetTime(nStation, nParam);
Dim oATC, nStation, nParam, nState
Set oATC = pMe.Pm("/AtouchApp").Acx
nStation = 2
nParam = 100
nState = oATC.NetGetTime(nStation, nParam)