IoT Data Explorer for ThingSpeak and MATLAB

조회 수: 2 (최근 30일)
Syed
Syed 2023년 2월 14일
댓글: Syed 2023년 2월 16일
I am unable to get the Visualization plot. I am getting this "Not enough fields selected" error window. I am using the Online Matlab. The Thingspeak Channel ID is 1829694 and the ReadAPIKy is "VZK8QZDLZQBQPBUQ". There are 1000 entries in each of the 6 fields from 7/2/2023 9.58 PM to 14/2/2023 9.11 PM.
I tried various dates for selecting the data range but unable to get the plot. kindly suggest to get the plot.

채택된 답변

Christopher Stapels
Christopher Stapels 2023년 2월 14일
The app was made assuming you have a relatively continuous data stream. Your data is very sparse with respect to time. I was able to get it to work with the properties shown in the picture here, since you have more regular data over this range (today). If either the section you select for comparison or the base region is empty of data, the comparison will fail. Thanks for the feedback on the app though! Ill have to think how to accommodate your use case given the architecture I’ve used in the app. The code is there in File Exchange though, so feel free to suggest a good solution if you have one.
  댓글 수: 9
Christopher Stapels
Christopher Stapels 2023년 2월 16일
Thanks so much for sticking with me on this. Its a strange bug. I just double checked on a second computer using MATLAB online and it works. If you have any more time to work on this, can you try opening the app in appdesigner? I found you need to 'save as' locally in your MATLAB drive in order to debug it. If that works, I can show you where to put break points to see why there is no data being returned.
Syed
Syed 2023년 2월 16일
Yes Christopher, I am able to open n AppDesigner

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

추가 답변 (0개)

커뮤니티

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by