public interface IEDataMetaValue
The enumeration interface of IEDataMetaValue
is a part of the
IEData
interface, which returns a list of short
which should first be send to the server before getting the data. The
method for these values is preSendValues()
.
This enumerations is mostly used for DESY 2 data enumerations,
which needs to send and receive constants to the server before it will return
the corresponding values. For example, the TINE property of
sel_sps_block
will send the constant integers of 51
and 26
as a data block number and data word before returning
the status of the DESY 2 RF transmitter.
In other words:
out(0): 51
, out(1): 26
andin(0): <status>
(a 16-bit integer value)The output values can be read by preSendValues()
and the input by preRecvValues()
.
Modifier and Type | Method and Description |
---|---|
short[] |
preRecvValues()
This method returns the received meta data as an array of short
values.
|
short[] |
preSendValues()
This method returns the send meta values as a list of short
ones.
|
short[] preSendValues()
This method returns the send meta values as a list of short
ones. I used this method for TINE property names, which needs to send
at first values to the server before receiving the expected values. For
getting the received values you should look at the method of
preRecvValues()
The send values are defined per enumeration value in the concrete
enumeration definition and so fore there is no method needed to set the
value at a latter time with a method (for example
putPreSendValues(short[]):void
).
short[] preRecvValues()
This method returns the received meta data as an array of short
values. The returned meta data is in its length equal or lower then the
send meta values of the (see preSendValues()
),
and each element of these values must be equal to the send values from
its position x
.
For example, the send meta data returns the values of 51, 28, and 29, where the first value defines the data block you wanted to read and the last defines the data words. The received values you get by this method only the data words, here: 28 and 29.
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft