ENTRY sendData_OnClick
INT _retCode
TIME _BT
TIME _ET
RECORD (SD.ArchVal) _data
_ET := SysTime
_BT := %SubTime(_ET, 10*60)
GETARCHARR H.Sec, _data^Value, _data^Flags, _BT, _ET, 0, 1000, _retCode
%HI_SetGraphData(_graf, 2, _data^Value)
%HI_SetGraphInfo(_graf, 2, "Pocet hodnot = " + %IToStr(_data\DIM))
END sendData_OnClick
Pridať komentár