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 / 9828
9827  |  9829
Subject: 
Re: RCX-IR Tower Communication
Newsgroups: 
lugnet.robotics
Date: 
Fri, 7 Jan 2000 19:28:17 GMT
Viewed: 
463 times
  
Did you download the spirit.ocx documentation? You can control almost
everything with spirit commands. You can pol variable, send messages,
... I think that spirot.poll(source,number) will give the content of a
variable, for instance. Or you could use the datalog, there are 3
commands in spirit.ocx :

.setdatalog(size)
.datalognext(source,number)
.uploaddatalog(from,size)

maybe the latest is the most usefull. Again, I strongly recommend that
you download the spirit.ocx technical reference available at the
mindstorms site.

Good luck !
Phil

Mauro Vianna a écrit :

I'd like to implement a Visual Basic program able to communicate with the
RCX. RCX has commands to send and receive messages, but I don't no a way to
send and receive it from a computer program. This way RCX could have an
autonomous program and ask help for a computer for more complex tasks (ex:
using a mapping database for route decision).
I don't want to download a new program neither control the RCX directly due
to limitations of dwonloaded programs and line of vision.

It seens Spirit.ocx doesnt have this functionality, except for downlodable
commands. I know I can send a message with NQC inline parameter, but I'd
prefer to do it inside my program. Besides I must be able to read messages
sent by RCX too. Could it be as simple as writing or sending bytes to the
serial port connected to the IR tower? I didn't try it yet.

Another question: Does someone know a way to use notebooks IR ports instead
of the Lego IR tower to communicate with RCX? I don't think it's possible,
but it would be good.

Mauro Vianna

--
---------------------------------------------------------------------
                             Philippe Jadin
                     mailto:philippe.jadin@skynet.be
                             Belgium, Europe
Simple yet usefull  Robot stuff goto
http://users.swing.be/philippe.jadin
       For low-cost web design goto http://users.skynet.be/clairetnet



Message has 1 Reply:
  Re: RCX-IR Tower Communication
 
I downloaded that already. I confess I didn't explore all possibilities yet but sending messages to the RCX seens to be one of the limitations. I'm aware of the commands you mentioned but I'm not sure if they will work if the RCX moves out of range (...) (24 years ago, 8-Jan-00, to lugnet.robotics)

Message is in Reply To:
  RCX-IR Tower Communication
 
I'd like to implement a Visual Basic program able to communicate with the RCX. RCX has commands to send and receive messages, but I don't no a way to send and receive it from a computer program. This way RCX could have an autonomous program and ask (...) (24 years ago, 7-Jan-00, to lugnet.robotics)

4 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