Things speak data upload from sensors at the same time issue

조회 수: 1 (최근 30일)
Nipuna
Nipuna 2020년 5월 15일
답변: Christopher Stapels 2020년 5월 18일
Hi,
I'm new to Things speak. I'm testing a sensor which has 18 out puts which collects at the same time.
Can I upload the 18 inputs at the same time to 18 graphs if I use commetial version?
I need to maintain the time preciously since it is important for calculations later.
What is the setting I need to use or purchase.

채택된 답변

Christopher Stapels
Christopher Stapels 2020년 5월 18일
A single update is generally limited to 8 fields, plus locaton and status information. There are a few ways to achieve the effect you are looking for. If the devices have a synchronized clock, you can write the time along with the submission using the created-at parameter. Then each device could write the same timestamp even though the actual posting to ThingSpeak times might vary.
See the write data page in the documentation for more information.
If the frequency of writing is slow, you could use the retime function in MATLAB to realign the times after they are posted.
You could forward data from all the devices to have a single device perform the write operation. If you wanted to write multiple entries in a single POST, you could use the bulk write ferature, but each entry needs to have a unique timestamp.
There is presently no difference in the number of fields you can write to simultaneously in the commercial or free version, but the number of allowed writes and the maximum frequency of writes are larger with a paid license.
If you absolutely need to write all 18 sensor values, it is possible to encode and then decode them. Our suggested workflow is to use one device per channel, and one field per sensor. Each field is up to 255 characters though, and you can pack more information in there if wou are willing to unpack it and create a custom plot later.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

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