Writing, Keystate, Version – EUCHNER ActiveX Module serial/USB User Manual
Page 14: Data, 11 writing, 12 keystate, 13 version, 14 data, Manual eks activex, Module serial / usb
Manual EKS ActiveX
®
Module serial / USB
3.5.11 Writing
Description
State of the method Write
Syntax
bool = object.Writing;
Comments
If the property Writing returns the value True, the method Write is currently active. The
write request is still active and the data have not yet been completely written to the
Electronic-Key. As long as this method is active it is not possible to call any other
methods.
Data
type
bool
Default
value
false
3.5.12 KeyState
Description
Returns
the
status of the last event.
Syntax
bool = object.KeyState;
Comments
Possible parameters are:
EKS_KEY_IN
= 1
EKS_KEY_OUT
=
2
EKS_KEY_OTHER
=
3
Data
type
KeyStateConstants (Enumeration)
Default
value
EKS_KEY_OUT
3.5.13 Version
Description
Returns the current version of the EKS ActiveX
®
module
Syntax
String Value = object.Version;
Data
type
String
3.5.14 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
Electronic-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 Electronic-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.
Page 14
/
20
Subject to technical modifications
098655-03-10/12