In thingspeak , how can I visualize two or more channels on one page so I can view different fields from different nodes at a time ?
32 ビュー (過去 30 日間)
表示 古いコメント
I'm working on a project that contains several distributed nodes. I assigned one channel for each node. my question is " how can I visualize the data coming from different channels on one page?
3 件のコメント
Christopher Stapels
2023 年 2 月 2 日
Yes, paid licenses allow you to create visualizations that automatically refresh.
回答 (1 件)
Christopher Stapels
2022 年 7 月 28 日
In the tabs on the top of the ThingSpeak site, Click on Apps > MATLAB Visualizations then click the green 'New' button, and you will see choices for template code. You can do the same thing to get MATLAB analysis template code as well. The apps are similar, but you need the visualizations app to do visualizations and you can only use code writte in the analysis app for a trigger in React or TimeControl.
For other great examples, see the doc, and click the examples tab. There is an example relating to each of the template codes, for example this one on multi-day visualizations.
2 件のコメント
Christopher Stapels
2023 年 2 月 2 日
To read multiple channels, change the channel id in the thingSpeakRead function. The multi day visualizations does in fact help answer this question in that it shows you how to make consecutive calls to thingSpeakRead, and shows a way to assemble the data. If you take that example and use consecutive reads with different channel id's (and perhaps different field id's), you will have what you indicated in your question. If you are still stuck, please consider starting a new question and describing your issue in detail.
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
カテゴリ
Find more on Visualize Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!