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 / *712 (-20)
  Scout programming in RcxCC
 
After follow Dave's suggestion, I am successful to use RcxCC for Scout programming, here is the method. Edit two batch files named rcx.bat and scout.bat in rcxcc directory, the content of files are as follows: set NQC_OPTIONS=-TRCX rcxcc set (...) (24 years ago, 17-Aug-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout, lugnet.robotics.rcx)
 
  Re: Connecting to RCX
 
(...) Communication with the RCX looks fine, but the RCX is refusing to change the program. This is exactly what would happen if no firmware was loaded. Are you sure you have firmware installed? With firmware, the display will look like this "00.00 (...) (24 years ago, 17-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) Ooh, good point. I was assuming that the programs he was running were programs for the robot with which he was testing, and that he could tell that they were the right ones. Not a very good assumption, actually. (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) The RCX has, by ROM Firmware, 5 factory entered programs. In all 5 slots. The easy way to tell if there is firmware installed is when you turn it on you see 00.00| |= little man. Without firm ware all you see is | Dean -- Coin-Op's For Sale!: (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) That's my current plan. I tried the normal way and it lost the file name, the current dir, everything. It has become VERY frustrating... But I should have it soon. I'll be offering it free on our site. I'll post when it's done. Dean -- (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) Ordinary electric lightbulb. Nothing too bright or too dark. I might try moving the tower and brick under a chair when I get in from work tonight and see if that makes a difference. I brought the packet trace in today in case it looks familiar (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) Yeah it suggests that to me too. What's the lighting condition like in the room? (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) It should! It certainly did last time I used it but I wasn't sure whether being without batteries would cause the firmware to need reloading. It certainly powers on and runs programs in all slots which suggested to me that the firmware was (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) Could you copy the entire contents to the clipboard, then have your program write the clipboard data to a temp file? (you'd still avoing having to create pipes, etc) Dave Baum (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) Yes, that would be the easiest way but also the most annoying as it forces me to change the file name on the users editor. I'm looking in to a DDE command way to avoid this, but so far without success. Thanks for your help btw. Dean -- (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Connecting to RCX
 
(...) Does the RCX have the firmware installed? (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Connecting to RCX
 
Any pointers on how to get NQC to actually talk to the RCX would be gratefully received! I've searched around and tried everything that I can come up with but still can't make NQC send data correctly to the RCX. I've doublechecked that the serial (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: About Scout programming
 
(...) The Scout only supports passive sensors externally (touch and temperature). The light sensor is supposed to be used as an active sensor (although in some cases you can use it passively and get reasonable results). The Scout does have its own (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  About Scout programming
 
Hi I have a light-seeker NQC program for RCX, I want to port for Scout, does anyone know how to do it? Then does Scout use external light sensor? BR Zhengrong (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: Need help with my program
 
(...) Yeah, I could really make my programs simpler. Like I said, this is one of my first. (...) (24 years ago, 14-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Need help with my program
 
Your program is pretty difficult for me to follow...way too many tasks starting and stoping one another. For something as simple as the algorithm you described, you can probably take care of all the light seeking in a single task. If you still want (...) (24 years ago, 13-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) I'm not sure about the specific calls, but when you invoke one program from another you typically can control what file handles are used as stdin, stdout, and stderr by the launched program. Usually these are just handed off from (...) (24 years ago, 13-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) I know how to get NQC to wait for the stdin but I do not know how to get Windows to send a file or whatnot to that waiting port. Saving a file with '-' just made a file called '-'. sigh... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (...) (24 years ago, 9-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC stdin & stdout
 
(...) I think using '-' as the filename should work on windows as well as other platforms. (24 years ago, 9-Aug-00, to lugnet.robotics.rcx.nqc)
 
  NQC stdin & stdout
 
I'm looking for some way in windows to send files to and from stdin & stdout. I'm not 'C' savvy. I'm building a macro set for a editor to NQC for the disabled and would like to talk to NQC via the above. If I can't talk to it directly I'd love a cmd (...) (24 years ago, 9-Aug-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