GetHertz function
The GetHertz function returns the frequency for packed hertz data.
Syntax
GetHertz(ts TimeSeries)
returns integer;
- ts
- The name of the time series.
Description
Use the GetHertz 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.
Example
The following statement indicates that the time series that is named hertz_test can store 60 records per second:
EXECUTE FUNCTION GetHertz(hertz_test);
(expression)
60