Thingspeak, Analysing within a channel

1 次查看(过去 30 天)
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 Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by