ValueEntryEx Object
The ValueEntryEx object exposes the fields of the Entry object (type HistoryEntryEx). These include the TimeStamp, TimeStampStr, Status, UserStats, and Value fields. You can still access these fields through the Entry property, as well.
The ValueEntryEx object is used in:
Properties
| Property | SubType | Read Only | Description |
|---|---|---|---|
|
RollupPeriod |
Integer |
No |
Specifies the rollup period of the value entry. Rollup period refers to the quantity of units in a period. For example, to rollup 30 days, the RollupPeriod is 30 and the RollupUnit is "days." |
|
RollupType |
Integer |
No |
Specifies the rollup type of the value entry. The possible values are listed on the CxRollupType enum table. |
|
RollupUnits |
Integer |
No |
Specifies the rollup units of the value entry. This refers to time increments, such as seconds, minutes, hours, or days. The possible values are listed on the CxRollupUnits enum table. |
|
Status |
Integer |
No |
Specifies the status word for the value entry. Only bits 2-8 and 11 may be modified. When changing the value of the status word, "OR" the present value of the word with the bit mask of the values you wish to set/clear to preserve value of the status bits that are not being changed. Example
|
|
TimeOrdinal |
Integer |
No |
Specifies the time ordinal property of the value entry. The time ordinal property is used to differentiate between entries that have the same timestamp value. |
|
TimeStamp |
Date/Time |
No |
Specifies the timestamp of a value entry in the array. This field is an array of Date subtypes. The timestamp is set in Local time without milliseconds. ExampleWrite to the fifth timestamp: Note: For records written within the first second after midnight, use TimeStampStr for the hh:mm:ss portion. |
|
TimeStampMs |
Date/Time |
No |
Specifies the timestamp of a value entry in the array. This field is an array of Date subtypes. The timestamp is set in Local time without milliseconds. |
|
TimeStampRaw |
Date/Time |
No |
Specifies the timestamp of a value entry in the array. This field is an array of Date subtypes. The timestamp is set in Local time with milliseconds. |
|
TimeStampStr |
String |
No |
Specifies the timestamp of a value entry in the array as a string. The timestamp is set in Local time with milliseconds. |
|
UserStatus |
Long |
No |
Specifies the point user status (the user status bits in the real-time record). |
|
Value |
String |
No |
Specifies the value of the point in the entry record. |


