Problem sending data from ThignSpeak to Simulink
1 次查看(过去 30 天)
显示 更早的评论
Hello!
I have a channel in ThingSpeak. Field number 4: Temperature, with some data. But, when I try to read that data in Simulink, I only receive 0... What could be happening?
Simulink model:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328019/image.png)
Configuration in simulink
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328022/image.png)
ThingSpeak data:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328025/image.png)
REsponse:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328028/image.png)
2 个评论
Christopher Stapels
2020-7-7
Are you sure the R Pi is connected to the WiFi? What is the value at the status output?
采纳的回答
Reeno Joseph
2020-7-9
Hello Vinicio,
I just tried to read from your thingspeak channel and got the data. I ran the model in “Monitor & Tune” mode and could see the data. Please check the attachment.
To confirm the issue at your end please share the output of status port and the ‘Diagnostic viewer’
Thanks,
Reeno Joseph
更多回答(2 个)
社区
更多回答在 ThingSpeak Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!