Bulk update with thingSpeakWrite to a specified field
Ältere Kommentare anzeigen
In the thingSpeakWrite documentation is an example, how to upload a table of data
....
thingSpeakWrite(writeChannelID,dataTable,'WriteKey',writeAPIKey);
This works, but the data are uploaded in Field1. How can i specifie the field - for example field 5?
thingSpeakWrite(writeChannelID,'Fields',[5],dataTable,'WriteKey',writeAPIKey);
or
thingSpeakWrite(writeChannelID,'Fields',[5],'Values',dataTable,'WriteKey',writeAPIKey);
did not work.
Akzeptierte Antwort
Weitere Antworten (1)
Christopher Stapels
am 4 Mai 2023
0 Stimmen
Make your data table with the first four columns of null values.
1 Kommentar
Communitys
Weitere Antworten in ThingSpeak Community
Kategorien
Mehr zu Web Services finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!