To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1025
1024  |  1026
Subject: 
sending variables betwen rcx's?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Mon, 12 Mar 2001 23:54:21 GMT
Viewed: 
2135 times
  
to all

i am currently working on a robot with 2 rcx due to the number of sensors i
have on the robot.

my current problem is that i have 2 light sensor which is conected to
seperate rcx. one of the rcx with light sensor is calibrated using some
coloured card. i would like to know how i could send variables / values / a
datalog from 1 rcx to other.

i am currently using rcx2 firmware and have a knowlege of messages although
these canot solve the problem with this.

i looked into some of the low level serial codes 0x50 stop all task in the
documentation. there are many pages and i think there may be a solution
there but i dont understand how these documentation works. anyone help i
will be most gratefull as i am quite new to mindstorms and nqc and trying
this quite difficult project. many thanks.

thanks again...

from adam



Message has 3 Replies:
  Re: sending variables betwen rcx's?
 
Mechanical responce to light stimuli, involving motor ports from the RCX to controll levers ,switches or other motion components. A series of Send and Recive, & Wait times, allow Comand stacks from the sensor watchers to to activate these devices. (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
  Re: sending variables betwen rcx's?
 
My advice would be to try and solve the problem using the regular message facilities (SendMessage(), ClearMessage(), Message()). If you have more than 255 values to convey between the RCX's, then you can try chaining multiple messages together (with (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
  Re: sending variables betwen rcx's?
 
Hi Adam, if I understand your problem correctly, you want to transmit a sensor value from one RCX to another RCX which will work with that value. Now, if the 2 RCXs can "see" each other than simply use the Message statement. If not, you should take (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.nqc)

5 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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