Sending a character string ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Is it possible to send a character string (non-numeric) in a field? Of course, no numerical analysis would be possible and it would not be possible to plot the data in a graphic, but I would need that as sort of a log file for special events.
3 Kommentare
Christopher Stapels
am 31 Jan. 2022
Bearbeitet: Christopher Stapels
am 31 Jan. 2022
You can send strings. As you said, the automatic field plots wont work but string data is accepted. To read the data in MATLAB, use thingSpeakRead(...'outputformat','timetable') to get the string data. When you read with the REST API, no modification is required for the string data.
Antworten (2)
Christopher Stapels
am 4 Feb. 2022
Write the data to the status field (...&status=myStatus... ), and then set 'show status" in your channel settings.
Communitys
Weitere Antworten in ThingSpeak Community
Siehe auch
Kategorien
Mehr zu Read Data from Channel finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!