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

JohnWatson

Site Admin

Joined: Thu May 24, 2012 12:15 pmPosts: 722

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/

Who is online

Users browsing this forum: No registered users and 2 guests

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