Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Warning: Variable CH200_1_M0 out of bounds


kakha Nov 9, 2017 05:53 AM

CR1000 gives this error when reading ch200 charging regulator. Can't figure out what M0 variable is. 

Maybe the program should be reloaded?

Thanks!


sonoautomated Nov 10, 2017 07:24 PM

Hi Kakha,

Normally, this error occurs when  the data loger is trying to stuff too many variables in an improperly sized array. It will then not write to the array, and increments the VarOutOfBound field in the status table.

I would double check the line in your code where you  placed the public array and make sure it is sized properly. 

If you don't mind, post the declaration part of you code an we can look at it.

Regards,


jra Nov 10, 2017 07:48 PM

We have a video on fixing common programming errors, including Variable Out Of Bounds. https://www.campbellsci.com/videos/datalogger-programming#slide=103 

Log in or register to post/reply in the forum.