Error using thingspeakwrite command in a MATLAB | MATLAB | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Error using thingspeakwrite command in a MATLAB
No permission to create posts
May 5, 2017
10:02 am
Avatar
zkornz
New Member
Members
Forum Posts: 3
Member Since:
May 5, 2017
sp_UserOfflineSmall Offline

I am very impressed what thingspeak cloud service do but now, I can't solve the problem with running matlab code that ask for waiting the 15 second although I put the delay(45) up and down the command.  Please help me for the current project according to the attacted photo.

Error display

https://i1.wp.com/www.uppic.org/image-CBEC_590D3EF8.jpg?w=100&ssl=1Image Enlarger

Matlab command

https://i0.wp.com/www.uppic.org/image-B303_590D3EF8.jpg?w=100&ssl=1Image Enlarger

May 6, 2017
1:22 pm
Avatar
zkornz
New Member
Members
Forum Posts: 3
Member Since:
May 5, 2017
sp_UserOfflineSmall Offline

Please help me guys. T_T

May 6, 2017
2:49 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 396
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

Thanks for the comment. I will try and find someone to help you as soon as possible. Thanks. 

May 8, 2017
7:57 am
Avatar
Adarsh_Murthy

MathWorks
Members
Forum Posts: 62
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

Hi, 

A channel on thingSpeak can be updated at the fastest rate of once every 15 seconds (free account) or once every 1 second (paid account). This limit is enforced even if multiple independent sources/clients are writing to the same thingSpeak channel at different rates. With this is mind, could you confirm that the MATLAB code that you have shared above is the only source writing to channel 242517?

Note that the update rate limit is enforced even if you are writing to different fields at different rates. Consider the following example for the free account case: on channel 242517, if fields 1 and 2 are being updated once every 15 seconds from one client/MATLAB function and fields 3 and 4 are being updated once every 30 seconds by another client/MATLAB program, you might see an error because channel 242517 might get two updates in less than 15 seconds. 

Let us know if you are still seeing an error after ensuring that there is only one client/MATLAB program writing to your channel.  

 

- Adarsh

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

harriettlf60, ShaToow, Aleftinfenny, DiaBentee, hugo11dom@gmail.com, Pisaruk530

Administrators: Hans: 387, lee: 457