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 / 1188
1187  |  1189
Subject: 
Re: Help with Windows 2000 and nqc
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sun, 8 Apr 2001 15:54:06 GMT
Viewed: 
1479 times
  
What com port is the tower attached to?  By default, NQC assumes com
port 1.  If you use a different port, you'll need to specify it either
with a -S option or by setting the RCX_PORT environment variable.  For
example, if you are using COM 2, you could so this to download foo.nqc:

nqc -SCOM2 -d foo.nqc

Try using NQC from the command line.  Does it print any error messages?
If it says it can't find nqc, then its a path issue...make sure the
directory that contains nqc.exe is in your PATH variable.  If it says it
can't open the serial port, make sure you specified the port correctly
and that no other programs are using the port.  If it says it cannot see
the IR tower and/or the RCX, then try again adding the -v option which
will print out some verbose debugging information, then post that
information so I can take a look at it.

Dave

In article <GBGMIJ.MBF@lugnet.com>, "Rich Thompson"
<rich@robotthoughts.com> wrote:

(and all of the RCXcc updates)

I have been happily using Linux to write nqc programs for over a year
now,
but I needed to migrate back to Windows 2000 for a while. So far, I can
do
everything I need except program my RCX! I loaded the Mindstorms software
to
register spirit.ocx and ran regsvr32 c:/winnt/spirit.ocx for good
measure.
Neither RCXcc or nqc (nqc -s(1|4) -clear) can find the RCX tower (no
green
light). I am flummoxed... I have read that others have run nqc under Win
2k
without issue. Has anyone encountered this problem before?

In linux, I would assume that one of my paths is not set properly. Is
this a
possibility in Win2K?

Thanks for any help...

Rich Thompson
http://www.robotthoughts.com
http://www.tennlug.com

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: Help with Windows 2000 and nqc
 
Cycling through all of the Com ports with the nqc command (nqc -SCOM1,2,4 -d test.nqc) gives the message 'Could not open serial port' for each port tried. nqc -SCOM3 -d test.nqc gives the error 'no replay from RCX'. With the -v option, Com Ports 1,2 (...) (24 years ago, 8-Apr-01, to lugnet.robotics.rcx)

Message is in Reply To:
  Help with Windows 2000 and nqc
 
(and all of the RCXcc updates) I have been happily using Linux to write nqc programs for over a year now, but I needed to migrate back to Windows 2000 for a while. So far, I can do everything I need except program my RCX! I loaded the Mindstorms (...) (24 years ago, 8-Apr-01, to lugnet.robotics.rcx)

3 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