5 getdata, 6 setdata, Manual eks activex – EUCHNER ActiveX Module Ethernet TCP/IP User Manual
Page 9: Module ethernet tcp/ip

Manual EKS ActiveX
®
Module Ethernet TCP/IP
3.4.5 getData
Description
Reading access to the internal memory area of the ActiveX
®
module in which data read
by the method Read or the event OnKey are stored.
Syntax
short = object.getData (short ByteIndex);
Comments
With the method getData, the internal memory area of the ActiveX
®
module can be read.
Upon triggering the events OnRead or OnKey, the key data are available in the internal
memory and can be read using getData. In the properties StartAdress and CountData,
the range is defined from which byte data shall be read (method Read).
Information!
This is an additional way of accessing the internal memory of the ActiveX
®
module. This method can
be used in programming environments which do not offer array support. Usually, the internal memory
area is accessed via the property Data, see section 3.5.12.
3.4.6 setData
Description
Writing access to the internal memory area of the ActiveX
®
module in which data to be
written by the method Write are stored.
Syntax
object.setData (short ByteIndex, short DataValue);
Comments
With the method setData, the internal memory area of the ActiveX
®
module can be
written. Upon triggering the event OnWrite, the data are written from the temporary
storage to the key. In the properties StartAdress and CountData, the range is defined
from which byte data shall be written (method Write).
Information!
This is an additional way of accessing the internal memory of the ActiveX
®
module. This method can
be used in programming environments which do not offer array support. Usually, the internal memory
area is accessed via the property Data, see section 3.5.12.
102030-02-10/12
Subject to technical modifications
Page 9
/
20