Effacer les filtres
Effacer les filtres

What does this mean? Error using "My App" Requests are too frequent.

7 vues (au cours des 30 derniers jours)
Shore
Shore le 19 Fév 2023

I have Matlab analysis that is giving me a too many request error. "Error using TRY Again Pico Boiler Matlab Requests are too frequent. For further information, see Limitations in the documentation. The link is broken for Limitations so I do not know how to fix this error. Suggestions welcome. I was using my Raspberry Pi Pico W to do the math for three of my fields, and I decided tolet Matlab do the math and write the fields into my Channel. I keep getting this error. Thanks for your help.

  3 commentaires
Shore
Shore le 19 Fév 2023
Modifié(e) : Shore le 19 Fév 2023
New comment: Not solved. Here is my refreshed question: Can I write into a channel from Raspberry Pi, then use Matlab Analysis to calculate new values from the data written into the channel (using the Read function in the App to get the data) and then write the calculated data to open fields (using the Write function in the App) in the same channel so that I can display the Read-in data, fields 1,2,3,8 as well as the calculated data in fields 4,5,7?
I think not, because I get this error: Error using App 1: Read 2016936, write 2016936 Requests are too frequent. For further information, see Limitations in the documentation.
I am pretty sure that my App that reads and writes on subsequent lines after calculations are performed is too quick for Matlab to accept and it spits out the Error. Right? If so, can I delay my Read lines or Write lines of code to provide acceptable delay to prevent the error? I have found that if I read in the data on what I call App 1, then do calculations, then write data to a different channel, then the error seems to go away, I think. (my mind is getting fuzzy at this point.)
If so, does it not seem wasteful that I need two channels, out of my precious 4 channels, to display calculated data. Isn't the usefulness of Matlab apps to be able to manipulate data?
Please tell me my error so I can continue enjoying the ThingSpeak IoT. I must be making a dumb mistake somewhere and I am prepared to admit it.
Shore
Christopher Stapels
Christopher Stapels le 20 Fév 2023
How often are you making requests? For free users the fastest allowed is once every 15 seconds, and 1 second for paid unless you are using the bulk endpoint (also used when writing a table of data in MATLAB). Bulk and table updates are also once per 15 seconds max.
Im sorry about the broken link, can you share the URL? You can read the limitations on this page, if you scroll down about a page and a half, or searcht he word limitations.
Reads are not limited, the error comes from writing too fast. Add some delay and all will be well.

Connectez-vous pour commenter.

Réponse acceptée

Shore
Shore le 20 Fév 2023

I am going to predict the answer that I will get. I predict: If I read data into an app then manipulate that data I must write that manipulated data to a different channel’s field, and I will get an error of limitation if I try to write to a field on the same channel. Right?

Plus de réponses (0)

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur ThingSpeak dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by