GETARCHCOL archIdent, locRecDstIdent, timeFromIdent_TmA, timeToIdent_TmA, stepIdent_Int, maxValsIdent_Int, statusIdent_Int [,archivInstance_Int] [TIMEBYROW | TIMEBYCOL] |
archIdent | in |
Reference to item
of:
or reference to one-column historical value. |
locRecDstIdent | out | Local structured variable for read result. |
timeFromIdent_TmA | in | Identifier of Absolute time type - interval beginning. |
timeToIdent_TmA | in | Identifier of Absolute time type - interval end. |
stepIdent_Int | in | Identifier of Int type - time step for archive values oversampling. |
maxValsIdent_Int | in |
Maximum number of values. If given interval contains more data, the action will trim off the data and return ERR_MORE_DATA warning in the parameter statusIdent_Int. |
statusIdent_Int | out | Read success. |
TIMEBYROW | Places result values by time into rows. | |
TIMEBYCOL | Places result values by time into columns. | |
archivInstance_Int | in | Optional identifier of Int type - identification of archive instance. If the parameter is not defined, the value 0 will replace it. |
The parameter archIdent can be defined by one of the following ways:
Read result is stored in the local structured variable defined by the parameter _locRecDstIdent. Result of every request is either one value or a sequence of values. Every sequence of values is stored in the local variable _locRecDstIdent:
Value of parameter archivInstance_Int defines
the instance of archive which executes the request. If the parameter is not
defined (or the value is 0), the active instance of archive will execute the
request.
The variable statusIdent_Int indicates the success of reading the
action. If this variable acquires the value _ERR_NO_DATA(22), it means that
all archives, which were used when reading, do not contain any data. If at
least one of the archives contains data, the action returns _ERR_NO_ERR(0).