Skip navigation

FlexPro Documentation 2025

IsTimeInHistoryBase

Returns TRUE if present. Otherwise, it returns FALSE.

Syntax

IsTimeInHistoryBase(HistoryBaseFile, Machine, TraceGroup, Time)

 

The syntax of the IsTimeInHistoryBase 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 running instance of HistoryBase will be searched or, if necessary, instantiated on the executing machine.

Permitted data structures are Scalar value. Supported data types are String.

TraceGroup

Name of the trace group whose time trace is to be used for the test.

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 4 or higher has to 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

IsTimeInHistoryBase("C:\HistoryBase.hbf", "RemoteMachine", '10.1.2010 11:45')


See Also

HistoryBaseRead Function

HistoryBaseReadTime Function

HistoryBaseFirstTime Function

HistoryBaseLastTime Function