Top  | Previous | Next

system.tag.storeTagHistory

Syntax

system.tag.storeTagHistory(historyprovider, tagprovider, paths, values, qualities, timestamps)

Parameters

String historyprovider - The historical provider to store to.

String tagprovider - The name of the realtime tag provder to associate these tags with. The tag provider does not need to exist, and the tag paths do not need to exist in it.

String[] paths - A list of paths to store. The values, qualities, and timestamps are one-to-one with the paths. A single path may be present multiple times in order to store multiple values.

Object[] values - A list of values to store.

Integer[] qualities - A list of integer quality codes corresponding to the values. If not provided, GOOD quality will be used.

Date[] timestamps - A list of Date timestamps corresponding to the values. If not provided, the current time will be used.

Returns

nothing

Scope

All