Sending a character string ?
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 30 de En. de 2022
What field? Are you talking about a structure?
Stéphan Clark
el 30 de En. de 2022
Christopher Stapels
el 31 de En. de 2022
Editada: Christopher Stapels
el 31 de En. de 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.
Respuestas (2)
Stéphan Clark
el 4 de Feb. de 2022
Editada: Stéphan Clark
el 4 de Feb. de 2022
0 votos
Christopher Stapels
el 4 de Feb. de 2022
0 votos
Write the data to the status field (...&status=myStatus... ), and then set 'show status" in your channel settings.
1 comentario
Stéphan Clark
el 5 de Feb. de 2022
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Categorías
Más información sobre Read Data from Channel en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!