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 / *1537 (-20)
  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)
 
  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: 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: leJOS & BricxCC news
 
John, Thanks for continuing to work on this. It's one of the things that keeps me motivated to continue supporting pbForth. Now, there has not bee much traffic there lately, and I have not done much with it becuase as far as I know, things are "just (...) (21 years ago, 5-Sep-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.rcx.pbforth)
 
  Re: leJOS & BricxCC news
 
In lugnet.robotics.rcx.java, Mark Riley wrote: [snipped] (...) I have incorporated the changes made to firmdl in the leJOS distribution into my BricxCC firmware downloader code. Now I can successfully download all the firmwares I have access to (...) (21 years ago, 5-Sep-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.rcx.pbforth)
 
  Re: Spybot Zones
 
(...) (URL) think that link will give you a good idea of how to get spybot distance and direction. It also shows how to setup byte code commands in NQC. (URL) link has more samples showing how to talk to the spybot firmware using NQC's asm (...) (21 years ago, 21-Aug-03, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Spybot Zones
 
Can anyone tell me how to set-up byte code commands in NQC? I want to use some of the Spybot Firmware commands for robot distance and direction to make two spybots work together, but I don't think that functionality has been added to NQC, yet. If (...) (21 years ago, 20-Aug-03, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: How to user MONITOR command for watching TIMER in Spybotics
 
Dear Dave, Thank you for your reply. In fact, for several nights I was using very similar snippet you provided to watch the timer before posting my problem, however, I was careless to spell the Timer(0) with TIMER(0) and the compiler always (...) (21 years ago, 13-Jul-03, to lugnet.robotics.rcx.nqc)
 
  Re: How to user MONITOR command for watching TIMER in Spybotics
 
This program below shows how a timer event can be used. Dave Baum ---- #define MY_EVENT 0 task main() { ClearTimer(0); SetEvent(MY_EVENT, Timer(0), EVENT_TYPE_HIGH); SetUpperLimit(MY_EVENT, 1000); monitor(EVENT_MASK(MY_EVENT)) { while(true) { (...) (21 years ago, 12-Jul-03, to lugnet.robotics.rcx.nqc)
 
  How to user MONITOR command for watching TIMER in Spybotics
 
Dear Members, I managed to use NQC MONITOR command to watch TIMERs in my SCOUT using the predefined SCOUT events (EVENT_TIMER_0). However, I failed with my Spybotics and RCX 2.0. My question is how can I use the MONITOR command to watch TIMERs (or (...) (21 years ago, 10-Jul-03, to lugnet.robotics.rcx.nqc)
 
  Re: How to call SCOUT ROM subroutine from NQC
 
Dear Dave Baum, Thank you for your reply. First of all, I enyoy your wonderful creation NQC very much. I also learn much from your EXTREME MINDSTORM book although it is dedicated to RCX rather than to RDS SCOUT. I successfully call almost all SCOUT (...) (21 years ago, 27-May-03, to lugnet.robotics.rcx.nqc)
 
  Re: How to call SCOUT ROM subroutine from NQC
 
(...) There isn't any built-in support for calling the ROM routines, but you can probably hack together what you need. You'll need to use "#pragma reserve" to prevent NQC from assigning variables to the registers used for parameter passing to the (...) (21 years ago, 24-May-03, to lugnet.robotics.rcx.nqc)
 
  How to call SCOUT ROM subroutine from NQC
 
Dear members, I would like to know how to call RDS SCOUT ROM subroutines from NQC. The SCOUT ROM Subroutines are useful and may save much memory for SCOUT. Thankyou in advance. Liem PH (21 years ago, 23-May-03, 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