To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *7970 (-20)
  Re: write files
 
(...) I'm glad that you (and others) have found NQC to be useful. Most people don't use NQC for anything beyond compiling and downloading programs, but it has lots of options for interacting with the RCX (such as -datalog, -run, and -raw). Type "nqc (...) (21 years ago, 3-Oct-03, to lugnet.robotics.rcx.nqc)
 
  Re: More than 1 integer in a data packet?
 
(...) I'm not a leJOS expert by any stretch of the imagination. But I think I can help. (...) That is not a correct understanding of the rcxcomm package API. The RCXOutputStream class, for example, which descends from java.io.OutputStream inherits (...) (21 years ago, 2-Oct-03, to lugnet.robotics.rcx.java)
 
  Re: write files2
 
(...) Markus, I second Chris' request that you explain more fully what you are trying to do exactly. Why do you need your output formatted as result1;result2;result3..., for instance? John Hansen (21 years ago, 2-Oct-03, to lugnet.robotics.rcx.nqc)
 
  Re: write files2
 
(...) You probably do not want to use the datalog if you just want to get the latest lightsensor reading every two seconds. Here's a way to do it if you can use JavaScript and if you have BricxCC installed (since BricxCC implements an out-of-process (...) (21 years ago, 2-Oct-03, to lugnet.robotics.rcx.nqc)
 
  Re: write files2
 
(...) By "connected" do you mean always within range of the infrared tower? (...) How long do you need to do this? Do you need to access the text file while the robot is running, or do you only plan to use the data after the experiment is over? (...) (21 years ago, 2-Oct-03, to lugnet.robotics.rcx.nqc)
 
  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)
 
  Re: write files2
 
(...) btw: the results must be saved: e.g: log.txt consists: result1;result2;result3... (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.nqc)
 
  write files2
 
thx for your answers. let me specify the problem better: the rcx is always connected with the PC. now i have a lightsensor and i want to save the results of the lightsensor every 2 seconds to my log.txt file ;) What is the best and easyiest way to (...) (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.nqc)
 
  More than 1 integer in a data packet?
 
Hi there, Does anyone know if I can send more than 1 byte/integer per packet between the PC and RCX. From what I understand of the rcxcomm package API, one can only send an integer at a time. Also, the example supplied with the rcxcomm package only (...) (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.java)
 
  Re: write files
 
(...) 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 (...) (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.nqc)
 
  Re: write files
 
(...) Now that you mention it, I surely have. But not recently, and not using the Data Log feature. I think this is what I was thinking of when I typed the words "other tools." (I'm a dinosaur when it comes to line editors vs. IDEs.) (...) when I'm (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.nqc)
 
  Re: Force number programname on RCX
 
Hi Admir, (...) once on the RCX a Lejos program has no name, there is only one program with possibly several numbered entry points. Maybe you can clarify your question? Greetings to København Jürgen (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.java)
 
  javac Makefile in Cygwin enviorment
 
Hi all, I'm developing some client/server on Lejos/win32(sdk.1.40) -> RCX, and I wonder if somebody arround have Makefile in Cygwin??? My exemple (bellow) is not good since I get pcrxcomm.jar problemms ... --- MAIN_PROGRAM = [xxx] PACKAGE = (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.java)
 
  Force number programname on RCX
 
Hi, Is there any chance to force program name on RCX ??? (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.java)
 
  Re: write files
 
(...) Surely you've used BricxCC? I thought everyone has used it... :-) A simple, yet powerful, tool you can download is my RCXTool program. (URL) posted about it a while back. (URL) can use RCXTool to upload your datalog via the following (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.nqc)
 
  Re: write files
 
(...) As far as I know, Brickx command centre has feature like this. Try to look at it's www page. There's also nice tutorial written by Mark Overmars - it explains how to use datalog. (...) Me too, I made a new account and it seems it's okay now.. (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.nqc)
 
  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)
 
  write files
 
Hello I only want to ask if it is possible to write (extern) text files by NQC. If i check a sensor i want to write the results in a file... is that possible by NQC or wich programming language is better (and easyier) for this project? THX (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.nqc)
 
  Re: Lugnet news server help (sorry)
 
Thanks a lot. I must have missed that message while I was away. "Jeff Van Winden" <jvwinden@sympatico.ca> wrote in message news:HLztp7.o5@lugnet.com... (...) Express. (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.legos)
 
  Simplifying Cygwin & brickOS/leJOS
 
I have been working on creating a single (large) installer for cygwin with everything you need to build brickOS (and leJOS as well). Download one large file (which is, unfortunately, 18.9 MB) and you are ready to go. I've tested it on W2K and it (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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