Problem with Thingspeak input block in simulink

problem in sending data from ThingSpeak to Simulink block. Everytime I tried to send data from write channel it is not showing the exact graph as in ThingSpeak visualization.

5 Kommentare

Tanusree
Tanusree am 24 Jan. 2024
Yes. But still some datas are missing.
How frequently are you writing to the channel? There are some update rate limits.
When you say "not showing the exact graph as in ThingSpeak visualization." Do you meant he field plots dont match your ThingSpeak visualization or that the data in the ThingSpeak visualization does not match what you expect it to be?
Tanusree
Tanusree am 31 Jan. 2024
The plot in my Simulink model scope doesn't match with ThingSpeak visualization.
Can you clarify what you mean by not matching? Are the data points completely different, or are there just a few missing, or something else?
Maybe you could share a screen shot to show us what you mean?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Swaraj
Swaraj am 29 Jan. 2024

1 Stimme

Hi Tanusree,
The issue might be due to one of the following:
  1. Please check that the channel number is correct and the Read API Key you are providing is correct.
  2. Please check the "Update period" field. It is used to set the time between successive reads over the channel.
  3. Verify the "Sample Time" of the block as well if it is as per your requirement.
For more information, please follow the below documentation:
Hope it helps!!

Weitere Antworten (0)

Kategorien

Mehr zu Write Data to Channel 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!

Translated by