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 / 1533
1532  |  1534
Subject: 
Re: write files
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Oct 2003 00:20:12 GMT
Viewed: 
5006 times
  
In article <HM15vt.1BzI@lugnet.com>,
"Chris Phillips" <drvegetable@attbi.com> wrote:

I had written a small program at one point to upload the RCX Data Log, and if
I
can find it and dust it off I will make it available on my web site.
(Contact
me by e-mail if you are desperate to get this program ahead of my lazy
schedule.)  I believe that other tools exist for uploading the Data Log, but
I
have not used them and cannot speak for them.

If you just want to transfer the datalog and put it in a text file you
can use the nqc command:

nqc -datalog

This will upload the datalog and print it to stdout.  Use your shell I/O
redirection to put it in a file...

nqc -datalog >my.log

Normally only the data values are displayed, but if you also want to see
what source the values came from use -datalog_full instead of -datalog.

As with any nqc commands, use the -S option to specify a different
serial port (or USB device).

AFAIK, BricxCC has a nice interface for datalogs, so that's probably the
best way to go if you just want to view the log, but if you want to
script it, then the nqc command should work fine.

Dave



Message has 1 Reply:
  Re: write files
 
(...) Of course. How silly of me to forget that NQC, the most influential piece of RCX software ever written, has built-in support for the datalog. I use NQC for the majority of my projects, and have found it to be the quickest way to develop RCX (...) (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: write files
 
(...) NQC programs run on the RCX which has no disk drive to write to, hence no file system or commands to do so. You might want to look at the Data Log feature of the RCX, which allows you to save data points (up to about 6,000 of them) such as (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.nqc)

8 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