필터 지우기
필터 지우기

How to access the Configure channel parameters in ThingSpeak

조회 수: 1 (최근 30일)
Jean Noël Raynaud
Jean Noël Raynaud 2020년 7월 4일
편집: Rene Chan 2020년 7월 7일
Hello,
I tring to acces the Configure channel parameters to change the Output data type of a field.
I whant to use uint32
I could not find the button.
Thank for your help.
Jean Noël

답변 (1개)

Rene Chan
Rene Chan 2020년 7월 7일
편집: Rene Chan 2020년 7월 7일
ThingSpeak channel fields are untyped. So there is no type configuration to set in channel setting. Instead, you just convert to the type you need after reading the data. In MATLAB, you can use the uint32 function. For example, the following snippet reads 5 minutes worth of pressure data from the public Natick Weather channel (12397), and convert them to uint32.
pressure = thingSpeakRead(12397,'fields', [6], 'Numminutes',5)
uint32(pressure)
We are curious about your use case for setting specific data type for fields. If you don't mind sharing, what are your main reasons for wanting to do so. Thanks!

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Configure Accounts and Channels에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by