To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 8464
8463  |  8465
Subject: 
Re: HI, Dave, HI Iain.
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Wed, 13 Aug 2003 18:02:58 GMT
Viewed: 
361 times
  
Um, Ivan -

I thought I mentioned that I had a fully functional Java driver for the
Control Lab.

I use 2 dos windows (one to run "java Test", the other "javac
Test.java") and a text window.

For the record, I use TextPad, not Notepad.  It has syntax
highlighting.  BTW, EDIT (from a third dos prompt?) works fine, too.

I dunno, doesn't get much simpler than that.

For the record, the CL is notoriously finicky about its connection.

When the "STOP" light turns off, it has established commo with the PC.

You are correct, it is not handshaking.

Try wiggling the wires.  I forget whether the cable is null modem or
not.  Try both.  Wiggle the wires again.  Switch to COM2, then switch
back.  This happens to me from time to time, and I know for a fact that
the CL is fully functional.

Once you get the wires working, you'll have no further problem.

Oh - yeah, try power-cycling the CL between serial port wire wiggles.
Pull the power cord, let it power down, re-attach the power cable.


Jeff E



Ivan Louch wrote:

Hey now! I might be a quiet lurker, but I'm still here watching and
listening, <evil voice> *always* =))

Well, since I really don't have much to add about BF or taunting SH, so I'll
just hijack this thread to some other topic. :)

Is anyone else as *amazed* as I am that in the past DECADE not a single soul
created any "real" means of programming the Control Labs? "LEGO Engineer"
and the ActiveX controls are nice and have their applications, but they can
hardly compare to the versatility and sheer ease of use of a standalone
"Notepad-n-DOS Prompt" setup. Don't even want to go into all the wonderful
options that are possible with a dedicated IDE.

But anywho, has anyone had any problems with their CLI not responding? It
seems mine does not reply back to the communication initialization (or does
not receive the request on the first place), either way the process gets
stuck on the 'open comms' stage. Is there anything I'm missing from the
hardware-software setup aside from a regular everyday serial port cable and
simply calling a StartLegos() method of the OCX control
(http://troyda.eas.muohio.edu/paper2.html)? I'm also aware of the
"SerialPort" key in the registry and I've doubled checked the settings.

The error I'm getting is "Lego Control Box is not functioning.", which is
part of the error handling for a failed communications request (you can look
up that exact string in LegoCtl.cpp, if you have the source code)

It seems all normal signs of life are present in my CLI - the red and the
green ('On') lights are on, and power is being supplied to the 4 blue sensor
ports and the central "always-on" port.

If it makes any difference, I'm running a Win2k Pro /w SP4; tried using the
ActiveX under VB6.0 and VC++6.0; tested on both Com ports, however I did not
try to 'play' with the port settings; the serial cable is about 2m long and
is light-gray in color :)

<frustration venting mode off>

Should probably x-post this to .robotics or something (why isn't there an
official Control Lab newsgroup anyway?).

Ivan
  There are 10 types of people in the world.
  Those who understand binary, and those who don't.



Message has 1 Reply:
  Re: HI, Dave, HI Iain.
 
(...) : crying sounds coming from corner : Iain (21 years ago, 13-Aug-03, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: HI, Dave, HI Iain.
 
Hey now! I might be a quiet lurker, but I'm still here watching and listening, <evil voice> *always* =)) Well, since I really don't have much to add about BF or taunting SH, so I'll just hijack this thread to some other topic. :) Is anyone else as (...) (21 years ago, 8-Aug-03, to lugnet.org.ca.rtltoronto)

19 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