Subject:
|
Re: Transmitting a message from the RCX to the PC
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Thu, 22 May 2003 17:50:27 GMT
|
Viewed:
|
3270 times
|
| |
| |
In lugnet.robotics.rcx, Chris Phillips writes:
> In lugnet.robotics.rcx, Michael Franklin Bosu writes:
> Since you have still not provided more information about the programming
> language/environment you are using or any details about your intended
> application, it is difficult for anyone to provide you with a more detailed
> response. Instead of re-posting the same question every few days, you will
> get better results if you give us more to work with.
I'm not the originator of this thread but I am interested in the same problem.
I'm intending to use
MS visual c++ V4
spirt.ocx
RIS 2.0 firmware
and NQC
> Perhaps a better way to get information from the RCX to the PC is to have
> the PC poll the RCX. Using the standard RCX firmware, you can store a data
> value in one of the 32 program variables, then have the PC periodically send
> an "interrogate variable value" opcode to the RCX. The RCX will respond by
> sending back the 16-bit value in that variable. This will NOT work if you
> have more than one RCX in the room, since they will all try to respond to
> the PC poll and will walk all over each others' transmissions.
I do want to use two RCX's though.
My plan is to have RCX No 2 send data to RCX No 1. RCX No 1 will then
forward this data along with it's own to the PC which will process it and
then send a response just to RCX No 1. RCX 1 will then signal RCX 2 to begin
the cycle again.
Couldn't I just tell RCX 2 to shut down comms for a short while so it would
not interfere with RCX 1's comms to the PC?
Steve
|
|
Message has 2 Replies: | | Re: Transmitting a message from the RCX to the PC
|
| (...) I am not sure if there is a way to disable the communications on the RCX when using the standard firmware. You could try putting an aluminum foil blinder around RCX No 2's IR transceiver, but I've found IR notoriously difficult to block since (...) (22 years ago, 22-May-03, to lugnet.robotics.rcx)
| | | R: Transmitting a message from the RCX to the PC
|
| Look at the material, it contains a readme file. this is just the top of the iceberg. If you are interested let me know. Giuseppe -----Messaggio Originale----- Da: "Steven lane" <steveroblane@aol.com> A: <lugnet.robotics.rcx...ugnet.com> Data invio: (...) (22 years ago, 23-May-03, to lugnet.robotics.rcx)
|
Message is in Reply To:
| | Re: Transmitting a message from the RCX to the PC
|
| (...) The one-byte messages supported by the RCX are not generally designed to go from the RCX to the PC. They are intended to go from the PC to the RCX, or from one RCX to another. One reason for this is that the original RS-232 IR tower would not (...) (22 years ago, 22-May-03, to lugnet.robotics.rcx)
|
11 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
|
|
|
|