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 / 821 (-20)
  Re: The Datalog
 
Sorry, Dean - now I got your point. There is indeed no way to read the contents of the datalog. What about storing the data (e.g. for path information, maps, etc.) into an ARRAY instead of the datalog? With RIS2.0 and the latest NQC version you have (...) (24 years ago, 10-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The Datalog
 
(...) Please don't get any of us wrong, the DataLog is a WONDERFUL feature. It makes for the greatest use of the brick as a data gatherer... The ONLY gripe any of us have is that the RCX it's self cannot read back the DataLog... If we could we could (...) (24 years ago, 9-Oct-00, to lugnet.robotics.rcx.nqc)
 
  The Datalog
 
To my mind, the datalog is a good feature, since it helps with debugging or adjusting sensors. I found very useful for analyzing light sensor values, measured during movements (e.g. proximity detection). Another useful application was measuring the (...) (24 years ago, 9-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) Series of measurements. I've used it to measure light sensor values while doing a 360 degree turn next to a candle (disappointing, the candle made hardly a dent), and to measure raw values for touch sensors while pushing them slowly, 1/100mm (...) (24 years ago, 5-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) If only the RCX could read it's own data... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 5-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) numbers. It can only log timers, sensors, variables, and the system watch. When a value is logged, its source is also logged. For example, AddToDatalog(Timer(1)) adds the current value of Timer 1 to the log and also stores that this entry came (...) (24 years ago, 5-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
BTW, what does the datalog *store*? Numbers? Events? Anything? And what good is it for (besides the methods we've disscussed earlier)? --Tobias (...) (24 years ago, 4-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) Each call to AddToDatalog() uses up one "point". Each point takes up 3 bytes of memory: a 1-byte code for the source of point (sensor, timer, etc), then a 2-byte value. 123456 is too big to fit into the log. This would either generate a (...) (24 years ago, 4-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) thanks. Comments are always welcome....that's not saying that I'll implement everything that anyone suggests, but I certainly appreciate the feedback. NQC wouldn't have gotten this far without the suggestions of the user community. Dave (24 years ago, 4-Oct-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: The datalog
 
(...) Dave, I have a question about the datalog. In the manual you state that the createdatalog function creates a datalog of x many points. How much is a point? Is that how many unique entries can be made or an overall 'byte' amount? Is a value (...) (24 years ago, 3-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) Yes, I'll try to do that when I have some time... (...) That's not too bad... heh heh. I'm just shocked at how little RAM there is for programing... Maybe the 'way' I program is memory intensive. I can see an art to programing the scout (...) (24 years ago, 3-Oct-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: The datalog
 
(...) After looking over the docs again, I'm fairly certain it can't be done (or at the very least isn't documented). If anyone finds out how to do it, let me know and I'll add support to NQC. Dave (24 years ago, 3-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: Scout poweroff time out?
 
(...) The SetSleepTime() and SleepNow() thing was just sloppiness on my part when reorganizing the NQC API file. Those opcodes are clearly documented in the Scout SDK. I don't think we have to hunt around for undocumented features - just verify that (...) (24 years ago, 3-Oct-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: Scout poweroff time out?
 
(...) What other features will work? The BatteryLevel() one? I think we need to have a look at the rcx2 commands and see what's working for the Scout. Also, what does the Scout API include with the program? I know in the RCX it turns all motor ports (...) (24 years ago, 2-Oct-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: The datalog
 
I heard it somwhere too, so I assumed it could be done, however, I haven't downloaded the new firmware, so I don't know. --Tobias (...) (24 years ago, 2-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
Someone in RTL said the RCX firmware ver 2 could read the datalog too. I read your documentation first since I figured you would have added functionality to NQC for that. I didn't see it in NQC. Then I check LEGO's docs but didn't see it there (...) (24 years ago, 2-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) This is news to me. Perhaps I had better examine those RCX 2 docs a little closer. Dave (24 years ago, 2-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) not really. Supports the bare minimum for opening docs, etc. Nothing beyond that. Probably won't get added anytime soon either. If you really want to do something like this on the Mac, I'd suggest using the MPW version of NQC. You can do a (...) (24 years ago, 2-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
Um, OK, but since Perl is a bit out of my league, I think that I will hold it there. But maybe I'll learn Perl in the future, who knows? Do you think it could be done in AppleScript? (Is MacNQC scriptable, BTW?) Guess there's an easy way to check (...) (24 years ago, 1-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: The datalog
 
(...) Sure, you could do that. You'd need to write a perl script or something to control the process. (24 years ago, 1-Oct-00, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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