To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 5404
5403  |  5405
Subject: 
Re: using nqc for first time
Newsgroups: 
lugnet.robotics
Date: 
Sun, 20 Jun 1999 21:04:10 GMT
Viewed: 
3088 times
  
> But the above scenario always happens. Always fails on the first
> download try, succeeds (seeminly) on the second, and then doesn't run
> the program properly for some reason. I'm able to repeat this every
> time. I'm stumped. Any suggestions? Thanks in advance,

Very strange.  I've heard of some problems with *long* programs failing to
load, but never with something as short as test.nqc.  Try the following
command and e-mail me the results (dbaum@enteract.com)

nqc -d -l -v test.nqc

(this will print a code listing, then download in "verbose" mode).

Hopefully you'll have one run that fails, then a second that works.  I can
then compare the verbose traces to see what the differences are.  I'll
also be able to validate the actualy bytecodes being sent, etc.  If it
comes down to a simple communication reliability problem, there are some
options we can use to increase the backoff times and/or retry counts.

As a work around, you may want to try playing with the near/far settings
for IR.  Try flipping the switch on the IR tower.  To change the RCX's
setting, use

nqc -near
  or
nqc -far

Personally, I have the best results with near mode, but I've heard an
occasional report of the opposite behavior.

Dave

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: using nqc for first time
 
(...) Cool. Thanks for checking this out. I did get one failure, and then one success, and here are the outputs: nqc -d -l -v test.nqc *** Task 0 = main 000 InType 0, Switch 32 00 01 003 InMode 0, Boolean 42 00 20 006 OutDir A, Fwd e1 81 008 OutMode (...) (27 years ago, 21-Jun-99, to lugnet.robotics)

Message is in Reply To:
  using nqc for first time
 
Hi all- Need some help troubleshooting this: I'm trying nqc on the Mac, and so the first thing I did was try the test program that came with it, but I'm getting weird errors. I should preface this by saying that my current setup of cables, IR tower (...) (27 years ago, 20-Jun-99, to lugnet.robotics)

14 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
    

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