4:09 am

October 17, 2020

9:30 am


MathWorks
May 1, 2016

Did you try my suggestion here
5:13 am

October 17, 2020

Hi Vinod,
many thanks for your response. But something else seems to be wrong. Here is the excerpt from the code where the request to ThingSpeak is made:
////////////////////////////////// Get the Data ////////////////////////////////////////
// setup for request to ThingSpeak ...
var urlOption = 'https://api.thingspeak.com/channels/' + dataStreamPublicKey + '/feed.json?api_key=XXXXXXXXXXXXX';
var dataOption = {
results: numPointsToPlot,
start: startDate,
end: endDate
};
// make the request to ThingSpeak ... ()JSONP to enable cross-domain ajax calls)
var jsonData = $.ajax({
url: urlOption,
...
Do you see another error of the request of thingspeak here?
Regards
Most Users Ever Online: 166
Currently Online:
23 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeuganModerators: cstapels: 460
Administrators: Hans: 405, lee: 457