Subject:
|
polling & the RCX
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 12 Feb 1999 01:21:52 GMT
|
Original-From:
|
Mingus Rockbutt <MINGUS@CYGNET.CO.UKsaynotospam>
|
Viewed:
|
1431 times
|
| |
| |
Please excuse what may be a stupid Q but....
how do I retrieve the datalog from an RCX (coded in nqc if it matters).
Im running nqc on a Linux box and I'm clueless as to how to transfer the
data captured from the RCX, via the IR tower to the computer - can I
just use a comms package such as seyon or whatever? If so what are the
protocol settings? What I have in the RCX is:
SetDatalog(16);
while (count < 16)
{
Datalog(IN_2);
count +=1;
}
UploadDatalog(1,15);
I _think_ that the data is being sent from the RCX - its transfer LCD
bit is lighting up - but the IR tower is sleeping or, If I fire up
minicom the tower active LED is lit but no amount of protocol setting
retreives anything.
Sorry that this sounds like the Spanish inquistion but my C coding is
definitely up to writing a port polling program if that's what's needed.
(AI student - Prolog just does not talk to hardware)
TIA
Tim Kay
mingus@cygnet.co.uk
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: | | Re: polling & the RCX
|
| Datalog uploading works a lot better if you initiate it from the host (your Linux box). As of version 1.1, uploading is built into nqc... nqc -datalog Older versions of nqc required using a separate utility to upload the datalog. Initiating the (...) (26 years ago, 12-Feb-99, to lugnet.robotics)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|