Error using thingspeakwrite command in a MATLAB | MATLAB | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Error using thingspeakwrite command in a MATLAB
Avatar
zkornz
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
1
May 5, 2017 - 10:02 am
sp_Permalink sp_Print sp_EditHistory

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

Avatar
zkornz
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
2
May 6, 2017 - 1:22 pm
sp_Permalink sp_Print

Please help me guys. T_T

Avatar
Hans
Natick, MA

Forum Posts: 385
sp_UserOfflineSmall Offline
3
May 6, 2017 - 2:49 pm
sp_Permalink sp_Print

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

Avatar
Adarsh_Murthy

Forum Posts: 59
sp_UserOfflineSmall Offline
4
May 8, 2017 - 7:57 am
sp_Permalink sp_Print

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: alexparrado
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 250

Vinod: 142

piajola: 73

vespapierre: 63

Adarsh_Murthy: 59

cstapels: 54

Newest Members:

chrissaxon

getty

l3inbin

ossan

gbalychik

wul

Forum Stats:

Groups: 4

Forums: 17

Topics: 1242

Posts: 4315

 

Member Stats:

Guest Posters: 1

Members: 5546

Moderators: 0

Admins: 2

Administrators: Hans, lee