12 data, 13 debug, Manual eks activex – EUCHNER ActiveX Module Ethernet TCP/IP User Manual
Page 14: Module ethernet tcp/ip

Manual EKS ActiveX
®
Module Ethernet TCP/IP
3.5.12 Data
Description
Memory area in which data read by the method Read or the event OnKey, or data to be
written using the method Write, are stored.
Syntax
short = object.Data (short ByteIndex);
Comments
The
property
Data represents a cache for all data that are read from the Electronic-Key
and that are to be written to the Electronic-Key. The data for the key are provided or
assigned in bytes. After the event OnRead or OnKey is triggered, the data on the Key
are available in the property Data. Once the event OnWrite has been triggered the data
have been written from the property Data to the Key. In the properties StartAdress and
CountData, the range is defined from which byte data shall be read (method Read)
respectively data shall be written (method Write).
Data
type
short
Default value
-12851 (CDCD
hex
)
The default value is present if no data have been read from the Electronic-Key or there
is no Electronic-Key in the Electronic-Key adapter.
3.5.13 Debug
Description
If the property Debug is set to the value true, the method Close is called for all instances
at the end of a debug session in a programming environment.
Syntax
bool = object.Debug;
Comments
The
ActiveX
®
module is not correctly destructed at the end of the debug session in
some programming environments. The property Debug must, e. g., be set to true in
Microsoft Visual Basic
®
and Microsoft Excel
®
for the development of the application so
that the TCP connection is closed at the end of the debug session without explicitly
calling the method Close. If a debug session is terminated before the method Close is
called, the connection to the EKS remains open. If the property Debug is true, then the
TCP connections for all ActiveX
®
instances are closed at the end of the debug session.
Data
type
bool
Default
value
false
Information!
Please ensure you only set the property Debug to true during the debug session. If one control is
destructed on the use of several instances of the ActiveX
®
module, the connection to the EKS will be
closed in all other instances.
Page 14
/
20
Subject to technical modifications
102030-02-10/12