Returns TRUE if present. Otherwise, it returns FALSE.
Syntax
IsTimeInRingBuffer(HistoryBaseFile, Machine, Time)
The syntax of the IsTimeInRingBuffer function consists of the following parts:
Part |
Description |
---|---|
HistoryBaseFile |
Path to the HistoryBase ring storage file to be read. Permitted data structures are Scalar value. Supported data types are String (file name). |
Machine |
Name of a computer in the network on which the specified ring buffer file is already being used by a HistoryBase component. This argument can also be an empty text. In this case, the HistoryBase instance is searched for or instantiated on the executing system. Permitted data structures are Scalar value. Supported data types are String. |
Time |
UTC date and time whose existence in the ring buffer is to be checked. Permitted data structures are Scalar value. Supported data types are 32-bit integer, 64-bit floating point und Calendar time. |
Remarks
The result always has the data structure Scalar value.
Weisang HistoryBase version 2.4 or higher must be installed on the executing system and, if applicable, on the system specified by Machine.
If an argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
IsTimeInRingBuffer("C:\RingBuffer.rbf", "RemoteMachine", '10.1.2010 11:45') |