To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 731
730  |  732
Subject: 
Re: Problems with datalog
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Fri, 25 Aug 2000 07:37:40 GMT
Viewed: 
1729 times
  

Looking at your NQC program, you seem to be logging the IR message buffer
directly, but that's not possible.

-- Michael

It is possible.  If the datalog is created from outside the program (i.e.
RCXcc) then my program correctly logs the IR messages.  The problem I'm
having is that I cannot get the RCX to create the datalog from within the
program.

From Dave's documentation:

Values can then be added to the datalog using AddToDatalog(value). When the
datalog is uploaded to a computer it will show both the value itself and the
source of the value (timer, variable, etc). The datalog directly supports
the following data sources: timers, sensor values, variables, and the system
watch. Other data types (such as a constant or random number) may also be
logged, but in this case NQC will first move the value into a variable and
then log the variable. The values will still be captured faithfully in the
datalog, but the sources of the data may be a bit misleading.

Ryan

--

http://members.home.net/rjschave



Message has 1 Reply:
  Re: Problems with datalog
 
(...) Have you tried putting in a Wait command after creating the Datalog and before you start using it? It must take a few milliseconds to set up. Just my .001 cents after taxes... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (...) (24 years ago, 25-Aug-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: Problems with datalog
 
(...) directly, but that's not possible. A careful examination of the DataLogNext command in the beta SDK documentation shows that the command is quite limited and that you can only log (global) variables, timers, sensor values and the watch/clock. (...) (24 years ago, 25-Aug-00, to lugnet.robotics.rcx.nqc)

9 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR