What does 'NumPoints' means? What does it do to the variable?

[pressure,time] = thingSpeakRead(readChId,'Fields',1,'NumPoints',100);
Hi everyone, I'm using this variable in a program code and I'd like to know what expression 'NumPoint' does to it. What I want to do is to read a signal now at timeline and another point a few minutes before the first one to calculate how much litters a machine is produzing tax production. How could I do that?
PS: This is the first time I'm using any kind of programming language

1 Comment

Please provide a link to the function you’ve quoted. That saves us the effort of searching for it.

Sign in to comment.

Answers (1)

It does what it says on the box ;-)
"Number of data points to extract, specified as a comma-separated pair consisting of 'NumPoints' and a numeric value. The number of points or rows of data is counted from the time the command is issued. The ThingSpeak server limits the number of points returned to a maximum of 8000."

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Asked:

on 19 Mar 2018

Answered:

on 19 Mar 2018

Community Treasure Hunt

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

Start Hunting!