View unanswered posts | View active topics It is currently Thu Apr 24, 2014 10:51 pm






Reply to topic  [ 2 posts ] 
Datalogging 
Author Message
Rookie

Joined: Thu Feb 09, 2012 1:11 pm
Posts: 4
Post Datalogging
Hello,

I want to do with the datalogging nxt when I executes the following program, I get an error:

**Error**:'const' expressions does not fit. Call to 'AddToDatalog'. Parameter: 'const short nDataPtIndex' is 'i' of type 'short'

program:
Code:
task main()
{
   int i;
   const int size = 2000;
   nDatalogSize = size;

   for(i=0; i<10; i++)
   {
      AddToDatalog(i);
   }
   SaveNxtDatalog();
}


I would like to know the path of the robot in a room by using the datalogging.

Thank you for your help


Sat Nov 24, 2012 5:35 am
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 537
Post Re: Datalogging
This is a known issue that we are currently working on. Unfortunately the only solution that I can offer at this point is rolling ROBOTC back to 3.08 to re-enable the datalogging feature; the 3.08 version can be downloaded from our website, under the 'Previous Versions' section: http://www.robotc.net/download/nxt/

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Mon Nov 26, 2012 4:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.