How to read data in more than 2 fields in thingspeak?
9 ビュー (過去 30 日間)
古いコメントを表示
Hi Team
I have this following URL and want to read data to it, i want to read 2 fields within the URL itself. How can i read 2 or 3 fields to it using below URL? Documentation does not have this including, only 1 fields per each request. Please assist, thanks.
6 件のコメント
Christopher Stapels
2019 年 12 月 3 日
The suggested URL does not restrict the number of fields you can read (up to 8), in fact it reads all of the fields that you have data in. If you wanted to discard all of the empty fields, or just select a few of the fields, you could read the data in a MATLAB analysis and process the data there. You could reven write the output to another channel.
I suggest using thingSpeakRead with 'outputformat','timetable'. then you can select the columns from the table that youa re interested in. If you use a MATLAB visualizations script, you can also plot the selected data.
採用された回答
Vinod
2019 年 12 月 6 日
Your RESTClient can read all 8 fields using the documented API and the lines of code in your application subsequent to the RESTClient code can choose the fields you want.
0 件のコメント
その他の回答 (0 件)
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
カテゴリ
Help Center および File Exchange で Read Data from Channel についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!