Sending a character string ?
조회 수: 11 (최근 30일)
이전 댓글 표시
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
Christopher Stapels
2022년 1월 31일
편집: Christopher Stapels
2022년 1월 31일
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.
답변 (2개)
Christopher Stapels
2022년 2월 4일
Write the data to the status field (...&status=myStatus... ), and then set 'show status" in your channel settings.
커뮤니티
더 많은 답변 보기: 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!