createTimestampCorrelationMesg static method
Mesg
createTimestampCorrelationMesg(
)
Implementation
static Mesg createTimestampCorrelationMesg() {
int fieldIndex, subfieldIndex;
Mesg newMesg = Mesg("TimestampCorrelation", MesgNum.timestampCorrelation);
fieldIndex = 0;
newMesg.setField(
Field("Timestamp", 253, 134, 1.0, 0.0, "s", false, ProfileType.dateTime),
);
fieldIndex++;
newMesg.setField(
Field(
"FractionalTimestamp",
0,
132,
32768.0,
0.0,
"s",
false,
ProfileType.uint16,
),
);
fieldIndex++;
newMesg.setField(
Field(
"SystemTimestamp",
1,
134,
1.0,
0.0,
"s",
false,
ProfileType.dateTime,
),
);
fieldIndex++;
newMesg.setField(
Field(
"FractionalSystemTimestamp",
2,
132,
32768.0,
0.0,
"s",
false,
ProfileType.uint16,
),
);
fieldIndex++;
newMesg.setField(
Field(
"LocalTimestamp",
3,
134,
1.0,
0.0,
"s",
false,
ProfileType.localDateTime,
),
);
fieldIndex++;
newMesg.setField(
Field("TimestampMs", 4, 132, 1.0, 0.0, "ms", false, ProfileType.uint16),
);
fieldIndex++;
newMesg.setField(
Field(
"SystemTimestampMs",
5,
132,
1.0,
0.0,
"ms",
false,
ProfileType.uint16,
),
);
fieldIndex++;
return newMesg;
}