The ts_get_hertz() function

The ts_get_hertz() function returns the frequency for packed hertz data.

Syntax

mi_integer
ts_get_hertz(ts_timeseries *ts)
ts
The name of the time series.

Description

Use the ts_get_hertz() function to determine how many records per second the time series can store.

Returns

Returns an integer 1-2047 or 100000 if the time series contains packed hertz data; returns 0 if the time series does not contain packed hertz data.