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 / 956 (-20)
  Re: Visual NQC 2001
 
Tim Webber pointed out to me that I must set the path to nqc.exe in the preferences. All is well now, thanks to Tim. -- Bob Fay California, USA rfay@we.mediaone.net (URL) (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Anyone using Mac beige G3
 
(...) The serial ports weren't changed in a major way (still RS-422, etc), but there could have been subtle changes to the driver/receiver that would cause problems when hooked to marginal RS-232 devices (such as the IR tower). Fred Martin reported (...) (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Visual NQC 2001
 
<Runtime error 380 fix If you get Runtime error 380 during compile start you need to change the subdirectory where NQC.exe is stored. Use a directory without a space in the name. Example C:\NQC\nqc.exe This will work.> That did not work. I am still (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Anyone using Mac beige G3
 
(...) One thing to keep in mind about Mac serial ports is that they are not RS-232, rather they are RS-422. IIRC, RS-232 is a singled-ended voltage standard (ref to ground only), where RS-422 is a differential standard. The 'common' method of using (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Anyone using Mac beige G3
 
(...) I've had similar problems with a CyberMaster. It seems that CyberMaster Tower is powered by the serial interface (at least it is switched on by this power). On PC, the DTR line is switched high (12 V), and the CTS line is switched low (-12V). (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Error in program
 
(...) Already got that answer, but thanks. (...) Done with initialization (int CounterLength=0;), isn't it? Please correct me if I am wrong. (...) Yes, you are right. But it didn't occur to me the time I wrote it. (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Error in program
 
(...) Your array is too small, it runs from 0 to 6. Maybe you should also put a CounterLength = 0; before the first until. until(SENSOR_2 == 1); makes it wait for the sensor being pressed. Also, as a matter of style, I'd rather use (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Visual NQC 2001
 
Runtime error 380 fix If you get Runtime error 380 during compile start you need to change the subdirectory where NQC.exe is stored. Use a directory without a space in the name. Example C:\NQC\nqc.exe This will work. (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Error in program
 
Chris Hood wrote: > > Well I am just a newbie to NQC and to the whole Mindstorm experience, > however here is what the compiler says when I try to compile the program > that you submitted. > > > Line 1: Error: RCX does not support Arrays Hi Chris, (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Anyone using Mac beige G3
 
Hi all, I having trouble connecting a PowerMac G3 (beige model, 233MHz) to the IR tower. I've tried NQC, MacNQC but keep getting "Error: no response from IR tower". I've also tried ZTerm to see if I can get an echo back. The Green LED in the tower (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Error in program
 
Well I am just a newbie to NQC and to the whole Mindstorm experience, however here is what the compiler says when I try to compile the program that you submitted. Line 1: Error: RCX does not support Arrays I hope that this helps. Chris (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Wake On IR -- is it possible????
 
All, I was wondering if there is anyway to put the RCX into basically a stand-by power saving mode and have it wake up when sent a command through the IR, basically "Wake on IR". That would be real handy for my Lego Cam when I want to turn on the (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Thank you Frank, I had forgotten about that. Thank you for bringing it up. This info will save considerable suffering in future! Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Error in program
 
Hi, can somebody tell me why this little program doesn't give any output? It just keeps running and doing nothing... int Edges[7], CounterLength=0; task main(){ SetSensor (SENSOR_2, SENSOR_TOUCH); until(CounterLength == 8){ Edges[CounterLength] = (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) program (...) Dean, you are right and meanwhile I could test it. However, the definition for the global variables must be in the SAME ORDER order for both of the programs. If you would do this: SLOT 1: int testvar1 = 1; int testvar2 = 2; int (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Power Down for RCX
 
(...) There are two commands (available on the command line or within a program). The first sets the "sleep time", which is the number of minutes before the RCX will turn itself off (0 means never sleep). The second requests that the RCX sleep (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Your example did as I have stated. Global variables are global across all program slots. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 30-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Dean, I am not sure that this is correct what you write about global variables. As far as I know, the followoing is correct: - 32 global variables are only valid WITHIN one program slot. - Within this slot, all tasks, functions and subroutines (...) (24 years ago, 30-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Yes. To be more precise I believe it's 6100 bytes of space. (The SCOUT has 400 bytes of space) (...) if message = 5 then jump off table... It's that easy... (...) Well if you can keep all the code in one program it's easier. But you get 32 (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Yes. (...) Yes. (...) You send a code from RCX #1 to RCX #2, RCX #2 is awaiting code... Based on the code number, it can perform previously defined tasks (complex tasks too, if you like) (...) ... Don't know. More complications, I'd say. (24 years ago, 29-Jan-01, 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