Calculate Dew point Channel 1120609

조회 수: 1 (최근 30일)
Marcio Lopes
Marcio Lopes 2020년 8월 23일
댓글: Marcio Lopes 2020년 8월 25일
Hi there! My channel is 1120609 and I made the dew point calculate but it’s working only a few minutes. How can I make this to work all the time?
  댓글 수: 2
John D'Errico
John D'Errico 2020년 8월 23일
How is this a question about MATLAB?
Marcio Lopes
Marcio Lopes 2020년 8월 24일
Hi John, I typed the code below and I ask for help. It's not working all the time.

댓글을 달려면 로그인하십시오.

답변 (1개)

Vinod
Vinod 2020년 8월 23일
Can you share your MATLAB code that is doing the dew-point calculation on ThingSpeak? Remember to redact or replace your channel's API keys in the code snippet with a placeholder like "XXXXX".
  댓글 수: 3
Vinod
Vinod 2020년 8월 25일
You need to associate this code to a TimeControl app on ThingSpeak which will execute the code on a schedule. You probably want to modify "NumPoints" to "NumMinutes" parameter to thingSpeakread to a value less than the TimeControl frequency. Then, your channel specified in writeChId will be updated every time the TimeControl runs.
Marcio Lopes
Marcio Lopes 2020년 8월 25일
Thank you Vinod. Now it's working very well.
Thanks a lot.

댓글을 달려면 로그인하십시오.

커뮤니티

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

카테고리

Help CenterFile Exchange에서 Read Data from Channel에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by