Thingspeak, Analysing within a channel

1 回表示 (過去 30 日間)
Julius Kübler
Julius Kübler 2019 年 12 月 6 日
回答済み: Vinod 2019 年 12 月 6 日
Hi Team,
I have a channel with data in field1 to field6. Now I want to use these data points to calculate the values for field 7. But I can't write the data with the exact same timestamp as the values of field1 to field6. I know, I could write the calculated data into a new channel, but I think this is a rather inelegant solution. One workaround is to add one second to the timestamps. But again, I would prefer a cleaner solution. Is there a way to do this properly?

採用された回答

Vinod
Vinod 2019 年 12 月 6 日
This is by design -- once the data is recorded for a particular timestamp, the datapoint associated with that timestamp is considered immutable. If that restriction was relaxed, someone could go back and re-record a value for a pre-existing timestamp & field combination. Then, one would have trouble to know what was the recorded value, and what was the "derived"/"computed" value.
If you are "deriving" data from a "measured data" channel, the currently recommended solution is to put that derived data in a separate channel.

その他の回答 (0 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeThingSpeak についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by