Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Module description

TS dating The timestamping of status point is always done at the source, by the PAstation. If a TS status point does not have a timestamp, it is automatically timestamped in the PMC. The PMC always leaves the time of the PA for the return of the TS except during the reconstructions for which the TS are returned without dategateway.

Status points received following a general interrogation have no timestamp

In the case of a non-dated TSstatus point without timestamp, it is the PMC gateway that will ensure the timestamp. If the timestamp of the TI in the pivot format is 0, null or absent, the module automatically timestamps the data.

Configuration

The module does not need any configuration. 

timestamp the status point.


Image Added

Configuration

The module requires no configuration.

Processing is conditioned by the presence of PIVOT.GTIS.SpsTyp or PIVOT.GTIS.DpsTyp in incoming data.

Filtering rules

R1 : Add a timestamp to status point received with a null timestamp (dictionary t missing or t.SecondSinceEpoch missing ort.SecondSinceEpoch is 0).

R2 : Add a timestamp to status point received following a general interrogation.

Data processing

This filter plugin expects readings to be a pivot model status points datapoints.Pivot model interaction

Input

The data read from the pivot format is :

  • For simple single status point data type data :
    • PIVOTTSPIVOT.GTIS.SpsTyp.t.SecondSinceEpoch
  • For double status point data type data :
    • PIVOTTSPIVOT.GTIS.DpsTyp.t.SecondSinceEpoch

Output

The data written in pivot format is : 

  • For

...

  • single status point data type

...

  • :
    PIVOTTS
    • PIVOT.GTIS.SpsTyp.t.SecondSinceEpoch
    (incremented timestamp)
    • is set to current gateway timestamp
    • PIVOT
    • PIVOTTS.GTIS.SpsTyp.t.TimeQuality = (incremented timestamp)FractionOfSecond is set the fraction of the current gateway second
    • PIVOTPIVOTTS.GTIS.TmOrg = .stValis set to "substituted" PIVOTTS
    • PIVOT.GTIS.TmValidity = timestamp quality of the PMC.stVal is set to "valid"
  • For double status point data type data :
    • PIVOTTSPIVOT.GTIS.DpsTyp.t.SecondSinceEpoch (incremented timestamp)PIVOTTS is set to current gateway timestamp
    • PIVOT.GTIS.DpsTyp.t.TimeQuality = (incremented timestamp)FractionOfSecond is set the fraction of the current gateway second
    • PIVOTPIVOTTS.GTIS.TmOrg = "substituted"PIVOTTS.GTIS.TmValidity = timestamp quality of the PMC.stVal is set to "substituted"
    • PIVOT.GTIS.TmValidity.stVal is set to "valid"


If the timestamp of the gateway is unreliable then:

For single status point data type :

  • PIVOT.GTIS.SpsTyp.t.TimeQuality.clockFailure is set to "true"
  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"

For double status point data type :

  • PIVOT.GTIS.DpsTyp.t.TimeQuality.clockFailure is set to "true"
  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"


If the timestamp of the gateway is is not synchronized with the external UTC time then:

For single status point data type :

  • PIVOT.GTIS.SpsTyp.t.TimeQuality.clockNotSynchronized is set to "true"
  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"

For double status point data type :

  • PIVOT.GTIS.DpsTyp.t.TimeQuality.clockNotSynchronized is set to "true"
  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"